Paul Weidner
32842c5e88
Move land and structure type fields higher up for consistency #632
...
Currently the land and structure type field come after status, flags
and owners. This is different than animal and plant assets whose type
field comes immediately after the asset name. Since the land and
structure type are required fields it seems more appropriate to have
them included higher in the form.
2023-02-01 15:18:00 -08:00
Michael Stenta
c0bd88f3da
All asset modules depend on farm:asset.
2022-11-22 16:20:40 -05:00
Michael Stenta
d2a7d50029
Fix Interface Drupal\farm_map\LayerStyleLoaderInterface referenced with incorrect case: Drupal\farm_map\layerStyleLoaderInterface.
2022-09-12 19:46:38 -04:00
Michael Stenta
597e984fb4
Fix "always exists and is not falsy" PHPStan errors.
2022-09-12 19:46:27 -04:00
Michael Stenta
1a35a65c66
Consistently provide *_options() helpers for all uses of *_allowed_values().
2022-02-28 14:20:37 -05: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
d15bdc5e37
Define all callback_allowed_values_function parameters.
2021-12-14 06:58:07 -05:00
Michael Stenta
293717e95b
Put modules into "farmOS (Defaults)" group: farm_land_types, farm_structure_types, farm_role_roles.
2021-09-20 16:10:19 -04:00
Michael Stenta
5f232b4319
Move all sub-modules into sub-directories called "modules" for consistency.
2021-09-17 16:11:38 -04:00
paul121
54f2b4c0cf
Use the contrib entity access and permission_provider handlers for the land_type config entity.
2021-06-24 12:38:45 -04:00
Michael Stenta
e8715bc3a2
Move dashboard land/structure type layer logic to farm_land and farm_structure modules in their own onMapRender event subscribers.
2021-06-23 10:37:40 -04:00
paul121
6be62e0d02
Remove unnecessary StringTranslationTrait import.
2021-06-14 14:15:25 -04:00
Michael Stenta
a7f2ea885f
Hide more fields in map popups: group, id_tag, parent, season, status.
2021-06-09 11:33:35 -04:00
paul121
7894368f20
Add location field to map_popup view modes.
2021-06-09 11:33:35 -04:00
paul121
77102245f3
Add map_popup entity_view_display config for assets.
2021-06-09 11:33:35 -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
2e43c1a7f2
Remove old color config, logic, and schema.
2021-04-16 08:09:27 -04:00
Michael Stenta
709e8daa02
Refactor asset type and land/structure type layer color logic to use layer style definitions.
2021-04-16 07:47:25 -04:00
Michael Stenta
6a57e282bd
Add a color property to land types.
2021-04-14 08:57:21 -04:00
Michael Stenta
48bd659273
Set map layer colors for all asset types.
2021-04-14 08:57:21 -04:00
Michael Stenta
c7ddaab912
Add land/structure type layers to land/structure asset Views.
2021-04-08 15:37:23 -04:00
Michael Stenta
19f742f55b
Remove "Other" from description of Default Land Types.
2021-03-19 08:06:05 -04:00
Michael Stenta
92bd9aa212
Make "Other" a default land type, provided by the Land module.
2021-03-11 07:38:15 -05:00
Michael Stenta
b0726ce09c
Add third party settings to asset types to allow them to be designated as fixed locations by default.
2021-02-25 15:20:58 -05:00
Michael Stenta
f0dcab44d8
Provide default land and structure types via two new modules, installed by default.
2020-12-29 06:55:37 -05:00
Michael Stenta
4b8d12fa81
Make Land type and Structure type fields required.
2020-12-29 06:55:37 -05:00
Michael Stenta
b096298066
Add a "Land type" field to Land assets, with allowed values defined by land_type config entities.
2020-12-29 06:55:37 -05:00
Michael Stenta
5f9979c5cf
Add Land, Structure, and Water asset type modules.
2020-12-29 06:55:37 -05:00