Michael Stenta
|
1a35a65c66
|
Consistently provide *_options() helpers for all uses of *_allowed_values().
|
2022-02-28 14:20:37 -05:00 |
|
Michael Stenta
|
4cd87c9956
|
Provide a quantity_measure_options() helper function.
|
2022-01-17 07:42:00 -05:00 |
|
Paul Weidner
|
83188d52ff
|
Remove field_ui_base_route from quantity entity definition.
|
2022-01-14 11:04:26 -08:00 |
|
Paul Weidner
|
7af4618ba1
|
Issue #3253430 by paul121: Define all callback_allowed_values_function parameters
Accidentally merged the wrong commit earlier.
|
2021-12-14 09:13:10 -05:00 |
|
Paul Weidner
|
94cd242abd
|
Standardise quantity measure allowed_values_function name.
|
2021-12-14 06:58:07 -05:00 |
|
Paul Weidner
|
d15bdc5e37
|
Define all callback_allowed_values_function parameters.
|
2021-12-14 06:58:07 -05:00 |
|
paul121
|
b14e91f195
|
Fix Uncaught PHP Exception Twig\\Error\\RuntimeError: "The "filter" filter expects an array or "Traversable", got "NULL"."
Initialize the content variable so it exists in quantity.html.twig
when the quantity has no populated fields.
|
2021-10-21 09:59:02 -07:00 |
|
paul121
|
3a46ccb60b
|
Issue #3239191 by paul121: Change farm_update to ignore simple config
|
2021-09-27 09:50:10 -04:00 |
|
Michael Stenta
|
e36ac7a33f
|
Exclude quantity.settings config from automatic updates.
|
2021-09-23 09:55:41 -04:00 |
|
Michael Stenta
|
f00313db03
|
Move create_quantity migration plugin to quantity module.
|
2021-09-20 14:13:18 -04:00 |
|
paul121
|
c48e380295
|
Allow quantity types to specify a default measure.
|
2021-09-17 15:59:27 -04:00 |
|
paul121
|
94ef94825c
|
Increase weight between quantity base fields.
|
2021-09-17 15:59:27 -04:00 |
|
paul121
|
b770db6552
|
Allow quantity fields to be rendered before and after the standard fields.
|
2021-09-15 15:35:40 -04:00 |
|
paul121
|
f7ce438a40
|
DeleteMultipleRouteProvider is deprecated.
|
2021-08-30 12:28:51 -04:00 |
|
Michael Stenta
|
9ae8dbed32
|
Issue #3224684: Allow managed roles access to entity revisions tab
|
2021-07-22 10:01:44 -04:00 |
|
Michael Stenta
|
ee080f2e00
|
Fix "Wrong class casing" warning in PHPStorm.
|
2021-04-05 10:59:04 -04:00 |
|
Michael Stenta
|
b7468fdc9b
|
Dispatch a QuantityEvent when on quantity presave and delete.
|
2021-03-27 14:43:53 -04:00 |
|
Michael Stenta
|
835137d0f3
|
Only include quantity fields in the template if they are not empty.
|
2021-03-11 08:40:32 -05:00 |
|
Michael Stenta
|
dae3ccd80c
|
Add Views integration for Quantity Value field, filter, and sort using fraction decimal handlers.
|
2021-03-11 07:38:15 -05:00 |
|
Michael Stenta
|
3c9087a3d0
|
The Quantity value field is not required.
This was dependent on https://www.drupal.org/project/fraction/issues/3202832
|
2021-03-11 07:38:15 -05:00 |
|
paul121
|
06c03f1073
|
Always render the Quantity type field.
|
2021-03-09 09:12:05 -08:00 |
|
paul121
|
bdd4e66714
|
Render the quantity entity in quantity inline entity forms.
|
2021-03-09 08:58:41 -08:00 |
|
paul121
|
7727048c6f
|
Allow the quantity type label to be viewed without the administer bundle permission.
https://www.drupal.org/project/entity/issues/2943571
|
2021-03-09 08:23:28 -08:00 |
|
Michael Stenta
|
19b5705f41
|
Use quantity_base_fields instead of standard_quantity_fields to avoid confusion with standard bundle.
|
2021-03-08 10:09:22 -05:00 |
|
Michael Stenta
|
85f979a439
|
Do not include quantity type in default template.
|
2021-03-08 10:01:42 -05:00 |
|
Michael Stenta
|
8fbf8def75
|
Remove unimplemented quantity entity type annotations and related unused classes.
|
2021-03-08 09:42:33 -05:00 |
|
paul121
|
5491b83fb2
|
Remove devel and standard quantity reference from template.
|
2021-03-05 14:16:06 -05:00 |
|
paul121
|
d942781100
|
Render the quantity type label if it is not the standard type.
|
2021-03-05 14:16:05 -05:00 |
|
paul121
|
65d2348b93
|
Document that the quantity variable is available in template.
|
2021-03-05 14:16:05 -05:00 |
|
paul121
|
a5d1e7eeef
|
Only display other quantity field labels if they are not hidden.
|
2021-03-05 14:16:05 -05:00 |
|
paul121
|
91aef36db3
|
Do not add clearfix to quantity fields.
|
2021-03-05 14:16:05 -05:00 |
|
paul121
|
b7caa132c7
|
Move the quantity label to the bottom of the form.
|
2021-03-05 14:16:05 -05:00 |
|
paul121
|
c6a2d1daf1
|
Make the default quantity template compatible with all bundles.
|
2021-03-05 14:16:05 -05:00 |
|
paul121
|
d4037fc0f5
|
Add field__quantity__field theme hook suggestion.
|
2021-03-05 14:16:05 -05:00 |
|
paul121
|
d258e05c2e
|
Add theme suggestions for each quantity bundle.
|
2021-03-05 14:16:05 -05:00 |
|
paul121
|
fd1496448d
|
Enable bundles on Quantity entities.
|
2021-03-05 14:16:05 -05:00 |
|
Michael Stenta
|
6c007a2d11
|
Add the quantity system of measurement to meta.farm.
|
2021-02-22 21:02:41 -05:00 |
|
paul121
|
f537b4a0bb
|
Use the system of measurement as the map units.
|
2021-02-22 21:02:41 -05:00 |
|
paul121
|
61626f6dd7
|
Provide a quantity settings form.
|
2021-02-22 21:02:41 -05:00 |
|
paul121
|
27bee57307
|
Create administer quantity permission.
|
2021-02-22 21:02:41 -05:00 |
|
paul121
|
3c5262f7a8
|
Add config for quantity system_of_measurement.
|
2021-02-22 21:02:41 -05:00 |
|
Michael Stenta
|
90fd9621e4
|
Very basic quantity templating.
|
2021-02-05 12:49:34 -05:00 |
|
Michael Stenta
|
6010d3af8f
|
Create a dedicated migration for Quantities.
|
2021-02-05 12:23:20 -05:00 |
|
Michael Stenta
|
99b3a15a6a
|
Fix Quantity measure and unit field view display options.
|
2021-02-05 12:23:20 -05:00 |
|
Michael Stenta
|
3989016e1a
|
Auto-create unit terms.
|
2021-02-05 12:23:20 -05:00 |
|
Michael Stenta
|
3e056d4704
|
Move inline_entity_form dependency to farm_field.
|
2021-02-05 12:23:20 -05:00 |
|
Michael Stenta
|
47e96dacbc
|
Move farm_quantity_log_delete() hook logic to a Log event subscriber.
|
2021-02-05 12:23:20 -05:00 |
|
Michael Stenta
|
ba660170a7
|
Move quantity field definition into farm_entity, with dependency on farm:quantity.
|
2021-02-05 12:23:20 -05:00 |
|
Michael Stenta
|
006d890d24
|
Change quantity field description from question to statement.
|
2021-02-05 12:23:20 -05:00 |
|
Michael Stenta
|
6681a34dcd
|
Rename farm_quantity to quantity.
|
2021-02-05 12:23:20 -05:00 |
|