Michael Stenta
7508c8d4f8
Disable default field wrapper elements in entity_reference Views displays.
...
Before this, when using these Views in entity_autocomplete form
widgets, the form field content ends up with <span> tags wrapping
the entity label.
2022-01-14 11:05:51 -05:00
Michael Stenta
fe0bc23f85
Re-export Views config per https://www.drupal.org/node/3230199 (no changes).
2022-01-14 11:05:51 -05:00
Michael Stenta
2175b57e2d
Move asset reference field on logs to new farm_log_asset module.
2021-12-28 09:17:42 -05:00
Paul Weidner
e65cc87a02
Add test for parent field constraints.
2021-12-10 15:40:09 -08:00
Paul Weidner
ca3b6b6513
Test entity fields in a loop.
2021-12-10 15:29:55 -08:00
Paul Weidner
e8bab25d24
Remove third_party_settings option from FarmFieldFactory.
2021-12-10 15:20:54 -08:00
Michael Stenta
6a7f123ae9
Change weight of Parents and ID Tags fields to 0.
2021-12-07 14:00:17 -05:00
Michael Stenta
9a454d383a
Adjust default weight of Notes fields so it appears below 0 weight fields.
2021-12-07 14:00:17 -05:00
paul121
3a46ccb60b
Issue #3239191 by paul121: Change farm_update to ignore simple config
2021-09-27 09:50:10 -04:00
Michael Stenta
20ceb84193
Move ID Tag base field to farm_id_tag.
2021-09-24 12:23:01 -04:00
Michael Stenta
e9e523c095
Move flag base field, action, config, and logic to farm_flag.
2021-09-24 12:22:25 -04:00
Michael Stenta
0029cfbf01
Move Views stuff from farm_entity to new farm_entity_views sub-module.
2021-09-24 12:21:15 -04:00
Michael Stenta
9e26868112
Move base field definitions from farm_entity to new farm_entity_fields sub-module.
2021-09-24 12:21:15 -04:00
Michael Stenta
0f84ff1575
Move Log Owner base field to dedicated farm_owner module.
2021-09-24 11:50:32 -04:00
Michael Stenta
938fb5926c
Exclude config that we override in hook_install().
2021-09-23 09:55:41 -04:00
Michael Stenta
505dc83130
Refactor farm_entity config_rewrite settings into hook_install().
2021-09-16 19:08:58 -04:00
Michael Stenta
7fad319709
Add enforced dependency on farm_entity to asset_flag_action config.
2021-08-30 13:45:32 -04:00
paul121
5e4f66c896
Enable the flag action for asset log and plan entities.
2021-08-30 12:28:51 -04:00
Michael Stenta
313951c798
Move views.view.farm_asset_reference to optional config.
2021-07-30 12:40:41 -04:00
Michael Stenta
b8b3d8c5d0
Add a dependency on drupal:taxonomy to farm_entity module.
2021-07-27 09:34:43 -04:00
Michael Stenta
6c1af891be
Move default_quantity_type third-party setting and logic to farm_log_quantity.
2021-07-22 17:40:16 -04:00
Michael Stenta
f77ba74e2a
Move LogEventSubscriber for cleaning up log quantities to the farm_log_quantity module.
2021-07-22 17:40:16 -04:00
Michael Stenta
cdfe4dc5a4
Move log quantity base field definition to farm_log_quantity module.
...
The farm_inventory module had an implicit dependency on this
field, so by moving this out to its own module we can depend
on it explicitly without adding a dependency on farm_entity
as a whole.
2021-07-22 17:40:16 -04:00
Michael Stenta
8d66a98483
Remove @todo regarding plan and data_stream and alphabetize perms.
...
It's OK if managed roles have permissions that are not defined.
There's nothing more "todo" here.
2021-06-24 14:45:15 -04:00
paul121
cab9d25734
Add entity type view permissions for all managed farm roles.
2021-06-24 12:38:45 -04:00
paul121
06e922937a
Use the contrib entity access and permission_provider handlers for farm entity bundle entity types.
2021-06-24 12:38:45 -04:00
Michael Stenta
380796b4c8
Move FarmBrowserTestBase to a farm_test module.
2021-06-17 09:42:43 -04:00
Michael Stenta
b3be5b0755
If the new revision log message matches the original, then set a blank message.
2021-06-09 11:01:32 -04:00
Michael Stenta
4f31aa9ed1
Always set the revision user ID.
2021-06-09 10:10:12 -04:00
pcambra
0f87c085ea
Issue #3216766 : Revisions are not supported on JSON API
2021-06-04 22:45:01 -04:00
Michael Stenta
85e7815090
Enforce the integrity of entity references to data_stream and quantity entities.
2021-06-04 22:04:38 -04:00
Michael Stenta
187bd7abcb
Move all Views hooks to *.views.inc and *.views_execution.inc include files.
2021-06-04 21:17:41 -04:00
Michael Stenta
b27419ea68
Add EXIF Orientation module.
2021-05-26 12:33:26 -04:00
paul121
292d46878a
Create reverse relationships for ER bundle fields after they are installed.
2021-05-20 17:31:59 -04:00
paul121
af805d4502
Extend from QuantityViewsData for quantity entities.
2021-04-21 14:26:25 -04:00
paul121
7358e4d64c
Extend entity views data to configure the correct filter for all taxonomy_term reference fields.
2021-04-21 14:26:23 -04:00
paul121
e82ac54474
Allow access to the view label operation on bundle entity types.
2021-04-20 09:22:02 -07:00
paul121
f4c8a7116e
Do not display the entity type field in entity forms.
2021-04-20 09:21:59 -07:00
paul121
0042e53bc2
Add entity type field to entity view pages.
2021-04-19 13:16:16 -04:00
Michael Stenta
cec5058337
Issue #3200219 by paul121: Uninstalling a bundle removes field storage definitions that are used by other bundles
...
This fixes the incorrect commit message used for the previous merge (two
commits ago), so that future git blame history is correct.
2021-03-23 17:43:01 -04:00
Michael Stenta
3752976f1a
Revert "Issue #2991394 by paul121: Move inventory fields to quantity measurements"
...
This reverts commit d8443dfa56
, reversing
changes made to d40531cbbc
.
I mistakenly copied and pasted the wrong commit message for the previous
merge commit. This reverts the entire merge. I will revert this revert,
and give it the correct commit message in the next commit so that git
blame history is corrected moving forward.
2021-03-23 17:41:05 -04:00
paul121
d4e0d26aef
Add explicit test to ensure field storage definitions provided by hook_farm_entity_bundle_field_info are deleted.
2021-03-22 07:27:26 -04:00
paul121
bf1ba8a86c
Decorate the BundlePluginInstaller service to not delete field storage definitions used by other bundles.
2021-03-22 07:27:26 -04:00
paul121
29b8355731
Rename to FarmEntityBundleFieldTest.
2021-03-22 07:27:26 -04:00
paul121
bf492f3347
Add test for bundle field storage definitions on multiple bundles.
2021-03-22 07:27:26 -04:00
Michael Stenta
7caf747694
Add a third-party setting for default quantity types on log types.
2021-03-15 15:46:36 -04:00
Michael Stenta
fe5929ab2f
Use taxonomy_index_tid Views filter handler plugin for quantity units column.
2021-03-11 17:49:01 -05:00
Michael Stenta
0f49717e96
Provide a reverse entity reference relationship from quantities to logs that reference them.
2021-03-11 07:38:15 -05:00
Michael Stenta
274b510d2e
Set the views data handler class for logs to FarmLogViewsData.
2021-03-11 07:38:15 -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