added work_type and chemical taxonomies
This commit is contained in:
11
config/install/taxonomy.vocabulary.chemical.yml
Normal file
11
config/install/taxonomy.vocabulary.chemical.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
enforced:
|
||||||
|
module:
|
||||||
|
- farm_agrikern
|
||||||
|
name: 'Chemical'
|
||||||
|
vid: chemical
|
||||||
|
description: 'A list of available chemicals.'
|
||||||
|
weight: 0
|
||||||
|
new_revision: false
|
||||||
11
config/install/taxonomy.vocabulary.work_type.yml
Normal file
11
config/install/taxonomy.vocabulary.work_type.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
enforced:
|
||||||
|
module:
|
||||||
|
- farm_agrikern
|
||||||
|
name: 'Work type'
|
||||||
|
vid: work_type
|
||||||
|
description: 'A list of available types of work.'
|
||||||
|
weight: 0
|
||||||
|
new_revision: false
|
||||||
@@ -20,7 +20,7 @@ class WorkLog extends FarmLogType {
|
|||||||
'label' => $this->t('Work'),
|
'label' => $this->t('Work'),
|
||||||
'description' => $this->t("What type of work was done?"),
|
'description' => $this->t("What type of work was done?"),
|
||||||
'target_type' => 'taxonomy_term',
|
'target_type' => 'taxonomy_term',
|
||||||
'target_bundle' => 'work',
|
'target_bundle' => 'work_type',
|
||||||
'auto_create' => FALSE,
|
'auto_create' => FALSE,
|
||||||
'required' => TRUE,
|
'required' => TRUE,
|
||||||
'multiple' => FALSE,
|
'multiple' => FALSE,
|
||||||
|
|||||||
Reference in New Issue
Block a user