Michael Stenta
ff60b3164d
Fix \Drupal calls should be avoided in classes, use dependency injection instead.
2022-09-13 10:12:45 -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
f77ba74e2a
Move LogEventSubscriber for cleaning up log quantities to the farm_log_quantity module.
2021-07-22 17:40:16 -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
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
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
bf1ba8a86c
Decorate the BundlePluginInstaller service to not delete field storage definitions used by other bundles.
2021-03-22 07:27:26 -04: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
c394b7bacf
Fix "Call to a member function setRequirement() on null" for entity types that do not expose bundle admin UI.
2021-03-08 09:43:14 -05:00
paul121
1b3dbe6540
Enable bundle plugins for the quantity entity.
2021-03-05 14:16:05 -05:00
paul121
02de4ba117
Deny access to the entity type add form.
2021-02-23 09:45:39 -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
5a10539ad6
Issue #3194206 : Add some @todos for future reference.
2021-01-22 14:20:19 -05:00
Michael Stenta
f9fff6f3b7
Move Geometry field definition to location module.
2020-12-29 06:55:37 -05:00
paul121
58f3d1a713
Fix operator so that field definitions for all bundles are included.
2020-12-29 06:50:02 -05:00
Michael Stenta
cfa95587a2
Move Equipment field definition (and tests) back to Equipment module.
2020-12-27 09:36:37 -05:00
Michael Stenta
b26317a89b
Allow specifying target_bundle for assets via FarmFieldFactory, instead of using the Views handler.
2020-12-17 07:49:29 -05:00
Michael Stenta
4ee7bb5cae
Use $this->farmFieldFactory in FarmLogType.
2020-12-16 14:14:05 -05:00
Pedro Cambra
451f2a8e57
Added dependency injection for plan types
2020-12-16 18:45:59 +01:00
paul121
2028e84dc4
Use dependency injection for farm_field.factory service.
2020-12-14 15:53:06 -08:00
paul121
f31d1ae20c
Add the StringTranslationTrait to FarmAssetType base class.
2020-12-14 15:13:13 -08:00
Michael Stenta
8d19ae8292
Split FarmFieldFactory out to a new farm_field module.
2020-12-14 10:07:58 -05:00
Michael Stenta
bc01a8b281
Add support for default_value_callback in FarmFieldFactory.
2020-12-14 10:07:58 -05:00
Michael Stenta
fb2a7baecb
Make all bundle field labels and descriptions translatable.
2020-12-14 10:07:58 -05:00
Michael Stenta
b03db69356
Move Asset and Plan entity bundle plugin support to farm_entity module.
2020-12-14 10:07:58 -05:00
Michael Stenta
81227805c0
Merge farm_log into farm_entity.
2020-12-14 10:07:58 -05:00
Michael Stenta
00d1786ccf
Rename farm_field to farm_entity.
2020-12-14 10:07:58 -05:00