removed old "trainers" field which was a paragraph

This commit is contained in:
naomi 2022-04-21 13:16:39 +01:00
parent 498dcc5bcf
commit c1a79f6747
6 changed files with 24 additions and 118 deletions

View File

@ -8,7 +8,6 @@ dependencies:
- field.field.oc_case.training.field_number_of_participants
- field.field.oc_case.training.field_project
- field.field.oc_case.training.field_social_media
- field.field.oc_case.training.field_trainer
- field.field.oc_case.training.field_training_delivery_format
- field.field.oc_case.training.field_training_status
- field.field.oc_case.training.field_training_type
@ -26,57 +25,65 @@ mode: default
content:
client:
type: options_select
weight: 0
weight: 1
region: content
settings: { }
third_party_settings: { }
field_date_of_training:
type: datetime_default
weight: 4
weight: 5
region: content
settings: { }
third_party_settings: { }
field_project:
type: options_select
weight: 1
weight: 2
region: content
settings: { }
third_party_settings: { }
field_social_media:
type: boolean_checkbox
weight: 7
weight: 8
region: content
settings:
display_label: true
third_party_settings: { }
field_training_delivery_format:
type: options_select
weight: 5
weight: 6
region: content
settings: { }
third_party_settings: { }
field_training_status:
type: options_select
weight: 3
weight: 4
region: content
settings: { }
third_party_settings: { }
field_training_type:
type: options_select
weight: 2
weight: 3
region: content
settings: { }
third_party_settings: { }
files:
type: file_generic
weight: 6
weight: 7
region: content
settings:
progress_indicator: throbber
third_party_settings: { }
name:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
notes:
type: string_textarea
weight: 9
weight: 10
region: content
settings:
rows: 5
@ -84,7 +91,7 @@ content:
third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
weight: 11
region: content
settings:
rows: 5
@ -96,7 +103,7 @@ content:
third_party_settings: { }
status:
type: boolean_checkbox
weight: 8
weight: 9
region: content
settings:
display_label: true
@ -104,6 +111,6 @@ content:
hidden:
feeds_item: true
field_number_of_participants: true
field_trainer: true
oc_target: true
total_fee: true
user_id: true

View File

@ -8,7 +8,6 @@ dependencies:
- field.field.oc_case.training.field_number_of_participants
- field.field.oc_case.training.field_project
- field.field.oc_case.training.field_social_media
- field.field.oc_case.training.field_trainer
- field.field.oc_case.training.field_training_delivery_format
- field.field.oc_case.training.field_training_status
- field.field.oc_case.training.field_training_type
@ -174,6 +173,8 @@ hidden:
changed: true
created: true
feeds_item: true
field_trainer: true
name: true
oc_target: true
search_api_excerpt: true
status: true
total_fee: true

View File

@ -1,46 +0,0 @@
uuid: 8a57272e-e5d7-45cf-94f2-9bdb9c734cb9
langcode: en
status: true
dependencies:
config:
- field.storage.oc_case.field_date_of_training
- field.storage.oc_case.field_trainer
- field.storage.paragraph.field_trainer
- opencase_cases.oc_case_type.training
- system.menu.opencase
module:
- datetime
- entity_reference_revisions
- opencase_cases
- paragraphs
- user
_core:
default_config_hash: Of0WcqhFUX1HB3oQfisZ29RgEzlpmN7kiIRRYU2nzMo
id: oc_organisation.client.trainings
label: Trainings
display_label: true
name: trainings
description: ''
base_entity_type_id: oc_organisation
base_bundle_type_id: client
field_type_id: views
field_type_config:
view_name: trainings
display: block_2
arguments: ''
field_type_condition:
route:
id: route
routes: ''
negate: false
request_path:
id: request_path
pages: ''
negate: false
current_theme:
id: current_theme
theme: ''
negate: 0
field_conditions_all_pass: false
display:
type: view

View File

@ -1,33 +0,0 @@
uuid: c722bc26-a033-4f9d-8f04-a65b247e113b
langcode: en
status: true
dependencies:
config:
- field.storage.oc_case.field_trainer
- opencase_cases.oc_case_type.training
- paragraphs.paragraphs_type.trainer
module:
- entity_reference_revisions
_core:
default_config_hash: o2DTDQHJfJCyEoBkkDbvkoaAFv-DRtgFn_nGl4in-0s
id: oc_case.training.field_trainer
field_name: field_trainer
entity_type: oc_case
bundle: training
label: Trainers
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:paragraph'
handler_settings:
negate: 0
target_bundles:
trainer: trainer
target_bundles_drag_drop:
trainer:
enabled: true
weight: 2
field_type: entity_reference_revisions

View File

@ -1,23 +0,0 @@
uuid: 89971a6a-34b5-41aa-869d-a343c2f96e55
langcode: en
status: true
dependencies:
module:
- entity_reference_revisions
- opencase_cases
- paragraphs
_core:
default_config_hash: Pmyzz5YecwFkTwL_KrDpiCYyP24kjfrahEfTN4OZOc4
id: oc_case.field_trainer
field_name: field_trainer
entity_type: oc_case
type: entity_reference_revisions
settings:
target_type: paragraph
module: entity_reference_revisions
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -1,6 +1,6 @@
uuid: d6279582-2817-4fc5-8da1-7aef408ac19f
langcode: en
status: false
status: true
dependencies:
config:
- field.storage.oc_case.field_contract_signed_date