103 Tickbox for inactive trainers, which then won't show up in training dropdown
This commit is contained in:
23
config/field.field.oc_actor.trainer.field_active.yml
Normal file
23
config/field.field.oc_actor.trainer.field_active.yml
Normal file
@ -0,0 +1,23 @@
|
||||
uuid: c571d051-afbf-4593-8d8e-436cf655c23d
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.oc_actor.field_active
|
||||
- opencase_entities.oc_actor_type.trainer
|
||||
id: oc_actor.trainer.field_active
|
||||
field_name: field_active
|
||||
entity_type: oc_actor
|
||||
bundle: trainer
|
||||
label: Active
|
||||
description: 'Unticking this box means the trainer is not currently active and will not show up when selecting trainers to add to trainings. '
|
||||
required: false
|
||||
translatable: false
|
||||
default_value:
|
||||
-
|
||||
value: 1
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
on_label: 'Yes'
|
||||
off_label: 'No'
|
||||
field_type: boolean
|
||||
Reference in New Issue
Block a user