From 98c667cce4d77d30743f3dbd32bc15c321d1e85f Mon Sep 17 00:00:00 2001 From: Rob Davies Date: Fri, 16 Jun 2017 09:54:14 +0100 Subject: [PATCH] Config sync --- ...tity_form_display.node.session.default.yml | 5 +- ...ntity_view_display.node.session.teaser.yml | 53 ++- ....node.speaker.speaker_profile_schedule.yml | 59 ++++ ...iew_mode.node.speaker_profile_schedule.yml | 10 + ...field.field.node.session.field_keynote.yml | 14 +- .../field.field.node.session.field_length.yml | 2 +- .../field.field.node.session.field_level.yml | 2 +- ...ld.field.node.session.field_speaker_s_.yml | 2 +- config/field.storage.node.field_keynote.yml | 14 +- .../field.storage.node.field_speaker_s_.yml | 2 +- config/views.view.schedule.yml | 328 ++++++++++++++++++ 11 files changed, 465 insertions(+), 26 deletions(-) create mode 100644 config/core.entity_view_display.node.speaker.speaker_profile_schedule.yml create mode 100644 config/core.entity_view_mode.node.speaker_profile_schedule.yml create mode 100644 config/views.view.schedule.yml diff --git a/config/core.entity_form_display.node.session.default.yml b/config/core.entity_form_display.node.session.default.yml index e0a6bcdd3..05808d5da 100644 --- a/config/core.entity_form_display.node.session.default.yml +++ b/config/core.entity_form_display.node.session.default.yml @@ -47,9 +47,10 @@ content: region: content field_keynote: weight: 8 - settings: { } + settings: + display_label: true third_party_settings: { } - type: options_buttons + type: boolean_checkbox region: content field_length: weight: 5 diff --git a/config/core.entity_view_display.node.session.teaser.yml b/config/core.entity_view_display.node.session.teaser.yml index 394ec5e27..e61686fe6 100644 --- a/config/core.entity_view_display.node.session.teaser.yml +++ b/config/core.entity_view_display.node.session.teaser.yml @@ -5,6 +5,15 @@ dependencies: config: - core.entity_view_mode.node.teaser - field.field.node.session.body + - field.field.node.session.field_category + - field.field.node.session.field_keynote + - field.field.node.session.field_length + - field.field.node.session.field_level + - field.field.node.session.field_session_type + - field.field.node.session.field_slides + - field.field.node.session.field_speaker_s_ + - field.field.node.session.field_time_slot + - field.field.node.session.field_venue_location - node.type.session module: - text @@ -17,12 +26,48 @@ content: body: label: hidden type: text_summary_or_trimmed - weight: 101 + weight: 0 settings: trim_length: 600 third_party_settings: { } region: content - links: - weight: 100 + field_category: + type: entity_reference_label + weight: 3 region: content -hidden: { } + label: hidden + settings: + link: false + third_party_settings: { } + field_level: + type: entity_reference_label + weight: 2 + region: content + label: hidden + settings: + link: false + third_party_settings: { } + field_speaker_s_: + type: entity_reference_entity_view + weight: 1 + region: content + label: hidden + settings: + view_mode: speaker_profile_schedule + link: false + third_party_settings: { } + field_venue_location: + type: entity_reference_label + weight: 4 + region: content + label: hidden + settings: + link: false + third_party_settings: { } +hidden: + field_keynote: true + field_length: true + field_session_type: true + field_slides: true + field_time_slot: true + links: true diff --git a/config/core.entity_view_display.node.speaker.speaker_profile_schedule.yml b/config/core.entity_view_display.node.speaker.speaker_profile_schedule.yml new file mode 100644 index 000000000..662f5f186 --- /dev/null +++ b/config/core.entity_view_display.node.speaker.speaker_profile_schedule.yml @@ -0,0 +1,59 @@ +uuid: 70ab11b6-84b3-4624-b816-a2d9968bfd1d +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.speaker_profile_schedule + - field.field.node.speaker.body + - field.field.node.speaker.field_drupal_org_handle + - field.field.node.speaker.field_email_address + - field.field.node.speaker.field_organisation + - field.field.node.speaker.field_profile_picture + - field.field.node.speaker.field_twitter_handle + - image.style.speaker_profile_small + - node.type.speaker + module: + - image + - user +id: node.speaker.speaker_profile_schedule +targetEntityType: node +bundle: speaker +mode: speaker_profile_schedule +content: + field_drupal_org_handle: + weight: 3 + label: inline + settings: + link_to_entity: false + third_party_settings: { } + type: string + region: content + field_organisation: + weight: 1 + label: inline + settings: + link_to_entity: false + third_party_settings: { } + type: string + region: content + field_profile_picture: + type: image + weight: 0 + region: content + label: hidden + settings: + image_style: speaker_profile_small + image_link: '' + third_party_settings: { } + field_twitter_handle: + weight: 2 + label: inline + settings: + link_to_entity: false + third_party_settings: { } + type: string + region: content +hidden: + body: true + field_email_address: true + links: true diff --git a/config/core.entity_view_mode.node.speaker_profile_schedule.yml b/config/core.entity_view_mode.node.speaker_profile_schedule.yml new file mode 100644 index 000000000..0f5fbf05e --- /dev/null +++ b/config/core.entity_view_mode.node.speaker_profile_schedule.yml @@ -0,0 +1,10 @@ +uuid: 52a64212-c4c9-4b9f-a504-e068b6839a98 +langcode: en +status: true +dependencies: + module: + - node +id: node.speaker_profile_schedule +label: 'Speaker profile (schedule)' +targetEntityType: node +cache: true diff --git a/config/field.field.node.session.field_keynote.yml b/config/field.field.node.session.field_keynote.yml index db92b0c36..642b603cd 100644 --- a/config/field.field.node.session.field_keynote.yml +++ b/config/field.field.node.session.field_keynote.yml @@ -1,12 +1,10 @@ -uuid: 14dd7d93-2ef8-46a8-8b1a-e94f7d4a6a25 +uuid: e725b4e0-a81f-4b8a-a79d-810c6aea5057 langcode: en status: true dependencies: config: - field.storage.node.field_keynote - node.type.session - module: - - options id: node.session.field_keynote field_name: field_keynote entity_type: node @@ -15,7 +13,11 @@ label: Keynote description: '' required: false translatable: false -default_value: { } +default_value: + - + value: 0 default_value_callback: '' -settings: { } -field_type: list_string +settings: + on_label: 'On' + off_label: 'Off' +field_type: boolean diff --git a/config/field.field.node.session.field_length.yml b/config/field.field.node.session.field_length.yml index 8770a85b5..4da19573a 100644 --- a/config/field.field.node.session.field_length.yml +++ b/config/field.field.node.session.field_length.yml @@ -12,7 +12,7 @@ entity_type: node bundle: session label: Length description: '' -required: true +required: false translatable: false default_value: { } default_value_callback: '' diff --git a/config/field.field.node.session.field_level.yml b/config/field.field.node.session.field_level.yml index 25f245195..39cf04a54 100644 --- a/config/field.field.node.session.field_level.yml +++ b/config/field.field.node.session.field_level.yml @@ -12,7 +12,7 @@ entity_type: node bundle: session label: Level description: '' -required: true +required: false translatable: false default_value: { } default_value_callback: '' diff --git a/config/field.field.node.session.field_speaker_s_.yml b/config/field.field.node.session.field_speaker_s_.yml index fa39fc07d..45f8a5b34 100644 --- a/config/field.field.node.session.field_speaker_s_.yml +++ b/config/field.field.node.session.field_speaker_s_.yml @@ -12,7 +12,7 @@ entity_type: node bundle: session label: Speaker(s) description: '' -required: true +required: false translatable: false default_value: { } default_value_callback: '' diff --git a/config/field.storage.node.field_keynote.yml b/config/field.storage.node.field_keynote.yml index bd52bd96a..aced78eea 100644 --- a/config/field.storage.node.field_keynote.yml +++ b/config/field.storage.node.field_keynote.yml @@ -1,21 +1,15 @@ -uuid: 63a244e2-c997-4d9f-ab2f-d5b56b2853ac +uuid: 3893eddc-55fe-421a-837a-2c5e9693499b langcode: en status: true dependencies: module: - node - - options id: node.field_keynote field_name: field_keynote entity_type: node -type: list_string -settings: - allowed_values: - - - value: Keynote - label: Keynote - allowed_values_function: '' -module: options +type: boolean +settings: { } +module: core locked: false cardinality: 1 translatable: true diff --git a/config/field.storage.node.field_speaker_s_.yml b/config/field.storage.node.field_speaker_s_.yml index 358b9d7c0..c15449bc5 100644 --- a/config/field.storage.node.field_speaker_s_.yml +++ b/config/field.storage.node.field_speaker_s_.yml @@ -12,7 +12,7 @@ settings: target_type: node module: core locked: false -cardinality: 1 +cardinality: -1 translatable: true indexes: { } persist_with_no_fields: false diff --git a/config/views.view.schedule.yml b/config/views.view.schedule.yml new file mode 100644 index 000000000..e963948b0 --- /dev/null +++ b/config/views.view.schedule.yml @@ -0,0 +1,328 @@ +uuid: cbc580db-7758-42b8-8ca5-b86131cf9c43 +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.teaser + - field.storage.node.field_session_type + - field.storage.node.field_time_slot + - node.type.session + module: + - datetime_range + - node + - options + - user +id: schedule +label: Schedule +module: views +description: 'Schedule views.' +tag: '' +base_table: node_field_data +base_field: nid +core: 8.x +display: + default: + display_plugin: default + id: default + display_title: Master + position: 0 + display_options: + access: + type: perm + options: + perm: 'access content' + cache: + type: tag + options: { } + query: + type: views_query + options: + disable_sql_rewrite: false + distinct: false + replica: false + query_comment: '' + query_tags: { } + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + pager: + type: none + options: + offset: 0 + style: + type: grid + options: + grouping: + - + field: field_session_type + rendered: true + rendered_strip: false + - + field: field_time_slot + rendered: true + rendered_strip: false + uses_fields: true + columns: 3 + automatic_width: true + alignment: horizontal + col_class_default: true + col_class_custom: '' + row_class_default: true + row_class_custom: '' + row: + type: 'entity:node' + options: + relationship: none + view_mode: teaser + fields: + title: + id: title + table: node_field_data + field: title + entity_type: node + entity_field: title + label: '' + alter: + alter_text: false + make_link: false + absolute: false + trim: false + word_boundary: false + ellipsis: false + strip_tags: false + html: false + hide_empty: false + empty_zero: false + settings: + link_to_entity: true + plugin_id: field + relationship: none + group_type: group + admin_label: '' + exclude: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_alter_empty: true + click_sort_column: value + type: string + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + field_time_slot: + id: field_time_slot + table: node__field_time_slot + field: field_time_slot + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: daterange_default + settings: + timezone_override: '' + format_type: time_only + separator: to + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + plugin_id: field + field_session_type: + id: field_session_type + table: node__field_session_type + field: field_session_type + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: h2 + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: list_default + settings: { } + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + plugin_id: field + filters: + status: + value: '1' + table: node_field_data + field: status + plugin_id: boolean + entity_type: node + entity_field: status + id: status + expose: + operator: '' + group: 1 + type: + id: type + table: node_field_data + field: type + value: + session: session + entity_type: node + entity_field: type + plugin_id: bundle + sorts: + field_time_slot_value: + id: field_time_slot_value + table: node__field_time_slot + field: field_time_slot_value + relationship: none + group_type: group + admin_label: '' + order: ASC + exposed: false + expose: + label: '' + plugin_id: standard + title: Schedule + header: { } + footer: { } + empty: { } + relationships: { } + arguments: { } + display_extenders: { } + group_by: false + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:field.storage.node.field_session_type' + - 'config:field.storage.node.field_time_slot' + page_1: + display_plugin: page + id: page_1 + display_title: Page + position: 1 + display_options: + display_extenders: { } + path: schedule + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:field.storage.node.field_session_type' + - 'config:field.storage.node.field_time_slot'