103 Tickbox for inactive trainers, which then won't show up in training dropdown

This commit is contained in:
2021-11-16 08:06:47 +00:00
parent 5a63118aaf
commit 4508de3149
8 changed files with 331 additions and 84 deletions

View 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