mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Add "Veterinarian" field to Medical logs.
This commit is contained in:
parent
58a7274c80
commit
6c54f14ecb
2 changed files with 38 additions and 0 deletions
20
modules/core/field/config/install/field.storage.log.vet.yml
Normal file
20
modules/core/field/config/install/field.storage.log.vet.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- log
|
||||
id: log.vet
|
||||
field_name: vet
|
||||
entity_type: log
|
||||
type: string
|
||||
settings:
|
||||
max_length: 255
|
||||
is_ascii: false
|
||||
case_sensitive: false
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
|
@ -0,0 +1,18 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.log.vet
|
||||
- log.type.medical
|
||||
id: log.medical.vet
|
||||
field_name: vet
|
||||
entity_type: log
|
||||
bundle: medical
|
||||
label: Veterinarian
|
||||
description: 'If a veterinarian was involved, enter their name here.'
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: string
|
Loading…
Reference in a new issue