Added config for project field on trainings
This commit is contained in:
parent
cbce19e5ae
commit
89a5e53d10
@ -4,6 +4,7 @@ status: true
|
|||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.oc_case.training.field_date_of_training
|
- field.field.oc_case.training.field_date_of_training
|
||||||
|
- field.field.oc_case.training.field_project
|
||||||
- field.field.oc_case.training.field_trainer
|
- field.field.oc_case.training.field_trainer
|
||||||
- field.field.oc_case.training.field_training_status
|
- field.field.oc_case.training.field_training_status
|
||||||
- field.field.oc_case.training.field_training_type
|
- field.field.oc_case.training.field_training_type
|
||||||
@ -25,6 +26,16 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: datetime_default
|
type: datetime_default
|
||||||
region: content
|
region: content
|
||||||
|
field_project:
|
||||||
|
weight: 26
|
||||||
|
settings:
|
||||||
|
match_operator: CONTAINS
|
||||||
|
match_limit: 10
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
type: entity_reference_autocomplete
|
||||||
|
region: content
|
||||||
field_trainer:
|
field_trainer:
|
||||||
type: entity_reference_paragraphs
|
type: entity_reference_paragraphs
|
||||||
weight: 3
|
weight: 3
|
||||||
|
@ -4,6 +4,7 @@ status: true
|
|||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.oc_case.training_for_umbrella_client.field_date_of_training
|
- field.field.oc_case.training_for_umbrella_client.field_date_of_training
|
||||||
|
- field.field.oc_case.training_for_umbrella_client.field_project
|
||||||
- field.field.oc_case.training_for_umbrella_client.field_trainer
|
- field.field.oc_case.training_for_umbrella_client.field_trainer
|
||||||
- field.field.oc_case.training_for_umbrella_client.field_training_type_umbrella
|
- field.field.oc_case.training_for_umbrella_client.field_training_type_umbrella
|
||||||
- opencase_cases.oc_case_type.training_for_umbrella_client
|
- opencase_cases.oc_case_type.training_for_umbrella_client
|
||||||
@ -22,6 +23,16 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: datetime_default
|
type: datetime_default
|
||||||
region: content
|
region: content
|
||||||
|
field_project:
|
||||||
|
weight: 26
|
||||||
|
settings:
|
||||||
|
match_operator: CONTAINS
|
||||||
|
match_limit: 10
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
type: entity_reference_autocomplete
|
||||||
|
region: content
|
||||||
field_trainer:
|
field_trainer:
|
||||||
weight: 2
|
weight: 2
|
||||||
settings:
|
settings:
|
||||||
|
@ -4,6 +4,7 @@ status: true
|
|||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.oc_case.training.field_date_of_training
|
- field.field.oc_case.training.field_date_of_training
|
||||||
|
- field.field.oc_case.training.field_project
|
||||||
- field.field.oc_case.training.field_trainer
|
- field.field.oc_case.training.field_trainer
|
||||||
- field.field.oc_case.training.field_training_status
|
- field.field.oc_case.training.field_training_status
|
||||||
- field.field.oc_case.training.field_training_type
|
- field.field.oc_case.training.field_training_type
|
||||||
@ -73,6 +74,14 @@ content:
|
|||||||
label: above
|
label: above
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
|
field_project:
|
||||||
|
weight: 83
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link: true
|
||||||
|
third_party_settings: { }
|
||||||
|
type: entity_reference_label
|
||||||
|
region: content
|
||||||
field_trainer:
|
field_trainer:
|
||||||
type: entity_reference_revisions_entity_view
|
type: entity_reference_revisions_entity_view
|
||||||
weight: 3
|
weight: 3
|
||||||
|
@ -4,6 +4,7 @@ status: true
|
|||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.oc_case.training_for_umbrella_client.field_date_of_training
|
- field.field.oc_case.training_for_umbrella_client.field_date_of_training
|
||||||
|
- field.field.oc_case.training_for_umbrella_client.field_project
|
||||||
- field.field.oc_case.training_for_umbrella_client.field_trainer
|
- field.field.oc_case.training_for_umbrella_client.field_trainer
|
||||||
- field.field.oc_case.training_for_umbrella_client.field_training_type_umbrella
|
- field.field.oc_case.training_for_umbrella_client.field_training_type_umbrella
|
||||||
- opencase_cases.oc_case_type.training_for_umbrella_client
|
- opencase_cases.oc_case_type.training_for_umbrella_client
|
||||||
@ -27,6 +28,14 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: datetime_default
|
type: datetime_default
|
||||||
region: content
|
region: content
|
||||||
|
field_project:
|
||||||
|
weight: 92
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link: true
|
||||||
|
third_party_settings: { }
|
||||||
|
type: entity_reference_label
|
||||||
|
region: content
|
||||||
field_trainer:
|
field_trainer:
|
||||||
weight: 86
|
weight: 86
|
||||||
label: above
|
label: above
|
||||||
|
28
config/field.field.oc_case.training.field_project.yml
Normal file
28
config/field.field.oc_case.training.field_project.yml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
uuid: c25be4d0-c1a4-449d-a1f5-5fd249764339
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_case.field_project
|
||||||
|
- opencase_cases.oc_case_type.project
|
||||||
|
- opencase_cases.oc_case_type.training
|
||||||
|
id: oc_case.training.field_project
|
||||||
|
field_name: field_project
|
||||||
|
entity_type: oc_case
|
||||||
|
bundle: training
|
||||||
|
label: Project
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:oc_case'
|
||||||
|
handler_settings:
|
||||||
|
target_bundles:
|
||||||
|
project: project
|
||||||
|
sort:
|
||||||
|
field: _none
|
||||||
|
auto_create: false
|
||||||
|
auto_create_bundle: ''
|
||||||
|
field_type: entity_reference
|
@ -0,0 +1,28 @@
|
|||||||
|
uuid: 1e8039f2-6d75-4f4c-abaa-5a636ab23621
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.oc_case.field_project
|
||||||
|
- opencase_cases.oc_case_type.project
|
||||||
|
- opencase_cases.oc_case_type.training_for_umbrella_client
|
||||||
|
id: oc_case.training_for_umbrella_client.field_project
|
||||||
|
field_name: field_project
|
||||||
|
entity_type: oc_case
|
||||||
|
bundle: training_for_umbrella_client
|
||||||
|
label: Project
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: true
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:oc_case'
|
||||||
|
handler_settings:
|
||||||
|
target_bundles:
|
||||||
|
project: project
|
||||||
|
sort:
|
||||||
|
field: _none
|
||||||
|
auto_create: false
|
||||||
|
auto_create_bundle: ''
|
||||||
|
field_type: entity_reference
|
23
config/field.storage.oc_case.field_project.yml
Normal file
23
config/field.storage.oc_case.field_project.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
uuid: 03c0bad7-1a84-4ae4-8d33-753336652a7b
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- field_permissions
|
||||||
|
- opencase_cases
|
||||||
|
third_party_settings:
|
||||||
|
field_permissions:
|
||||||
|
permission_type: public
|
||||||
|
id: oc_case.field_project
|
||||||
|
field_name: field_project
|
||||||
|
entity_type: oc_case
|
||||||
|
type: entity_reference
|
||||||
|
settings:
|
||||||
|
target_type: oc_case
|
||||||
|
module: core
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
Reference in New Issue
Block a user