Split Animal type and Plant type vocabularies out to their own modules.
This is mainly for consistency with the other vocabs, in case there are future modules that want to vocab without the asset type (like we needed with Material Type). By putting all vocabs in modules/taxonomy we make it easy to quickly see all the vocabularies that farmOS provides in both the file system and module list. The one remaining exception is Crop Family, which is included in the farm_plant_type module. See https://www.drupal.org/project/farm/issues/3191115
This commit is contained in:
parent
2a52a82d4f
commit
6379e8b59f
|
@ -4,4 +4,5 @@ type: module
|
|||
package: farmOS Assets
|
||||
core_version_requirement: ^9
|
||||
dependencies:
|
||||
- farm:farm_animal_type
|
||||
- farm:farm_entity
|
||||
|
|
|
@ -5,4 +5,5 @@ package: farmOS Assets
|
|||
core_version_requirement: ^9
|
||||
dependencies:
|
||||
- farm:farm_entity
|
||||
- farm:farm_plant_type
|
||||
- farm:farm_season
|
||||
|
|
|
@ -3,7 +3,7 @@ status: true
|
|||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- farm_animal
|
||||
- farm_animal_type
|
||||
name: Animal types
|
||||
vid: animal_type
|
||||
description: 'A list of animal species/breeds.'
|
|
@ -0,0 +1,7 @@
|
|||
name: Animal type vocabulary
|
||||
description: Provides an Animal type vocabulary.
|
||||
type: module
|
||||
package: farmOS Taxonomies
|
||||
core_version_requirement: ^9
|
||||
dependencies:
|
||||
- drupal:taxonomy
|
|
@ -11,7 +11,7 @@ dependencies:
|
|||
- taxonomy.vocabulary.plant_type
|
||||
enforced:
|
||||
module:
|
||||
- farm_plant
|
||||
- farm_plant_type
|
||||
module:
|
||||
- image
|
||||
- text
|
|
@ -10,7 +10,7 @@ dependencies:
|
|||
- taxonomy.vocabulary.plant_type
|
||||
enforced:
|
||||
module:
|
||||
- farm_plant
|
||||
- farm_plant_type
|
||||
module:
|
||||
- image
|
||||
- text
|
|
@ -6,7 +6,7 @@ dependencies:
|
|||
- taxonomy.vocabulary.plant_type
|
||||
enforced:
|
||||
module:
|
||||
- farm_plant
|
||||
- farm_plant_type
|
||||
module:
|
||||
- entity_reference_validators
|
||||
third_party_settings:
|
|
@ -7,7 +7,7 @@ dependencies:
|
|||
- taxonomy.vocabulary.plant_type
|
||||
enforced:
|
||||
module:
|
||||
- farm_plant
|
||||
- farm_plant_type
|
||||
id: taxonomy_term.plant_type.crop_family
|
||||
field_name: crop_family
|
||||
entity_type: taxonomy_term
|
|
@ -6,7 +6,7 @@ dependencies:
|
|||
- taxonomy.vocabulary.plant_type
|
||||
enforced:
|
||||
module:
|
||||
- farm_plant
|
||||
- farm_plant_type
|
||||
module:
|
||||
- image
|
||||
id: taxonomy_term.plant_type.image
|
|
@ -6,7 +6,7 @@ dependencies:
|
|||
- taxonomy.vocabulary.plant_type
|
||||
enforced:
|
||||
module:
|
||||
- farm_plant
|
||||
- farm_plant_type
|
||||
id: taxonomy_term.plant_type.maturity_days
|
||||
field_name: maturity_days
|
||||
entity_type: taxonomy_term
|
|
@ -6,7 +6,7 @@ dependencies:
|
|||
- taxonomy.vocabulary.plant_type
|
||||
enforced:
|
||||
module:
|
||||
- farm_plant
|
||||
- farm_plant_type
|
||||
id: taxonomy_term.plant_type.transplant_days
|
||||
field_name: transplant_days
|
||||
entity_type: taxonomy_term
|
|
@ -3,7 +3,7 @@ status: true
|
|||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- farm_plant
|
||||
- farm_plant_type
|
||||
module:
|
||||
- taxonomy
|
||||
id: taxonomy_term.companions
|
|
@ -3,7 +3,7 @@ status: true
|
|||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- farm_plant
|
||||
- farm_plant_type
|
||||
module:
|
||||
- taxonomy
|
||||
id: taxonomy_term.crop_family
|
|
@ -3,7 +3,7 @@ status: true
|
|||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- farm_plant
|
||||
- farm_plant_type
|
||||
module:
|
||||
- file
|
||||
- image
|
|
@ -3,7 +3,7 @@ status: true
|
|||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- farm_plant
|
||||
- farm_plant_type
|
||||
module:
|
||||
- taxonomy
|
||||
id: taxonomy_term.maturity_days
|
|
@ -3,7 +3,7 @@ status: true
|
|||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- farm_plant
|
||||
- farm_plant_type
|
||||
module:
|
||||
- taxonomy
|
||||
id: taxonomy_term.transplant_days
|
|
@ -3,7 +3,7 @@ status: true
|
|||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- farm_plant
|
||||
- farm_plant_type
|
||||
name: Crop family
|
||||
vid: crop_family
|
||||
description: 'A list of crop families.'
|
|
@ -3,7 +3,7 @@ status: true
|
|||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- farm_plant
|
||||
- farm_plant_type
|
||||
name: Plant types
|
||||
vid: plant_type
|
||||
description: 'A list of crops/varieties.'
|
|
@ -0,0 +1,7 @@
|
|||
name: Plant type vocabulary
|
||||
description: Provides an Plant type vocabulary.
|
||||
type: module
|
||||
package: farmOS Taxonomies
|
||||
core_version_requirement: ^9
|
||||
dependencies:
|
||||
- drupal:taxonomy
|
Loading…
Reference in New Issue