From fe77998fa3e6141715feb75321c6059443f036b3 Mon Sep 17 00:00:00 2001 From: bach Date: Mon, 22 Nov 2021 16:38:13 +0100 Subject: [PATCH] #1165 --- ...splay.taxonomy_term.collection.default.yml | 75 +++++++++++++++++++ ...splay.taxonomy_term.collection.default.yml | 43 +++++++++++ ...d.taxonomy_term.collection.field_image.yml | 41 ++++++++++ ...onomy_term.collection.field_programmes.yml | 29 +++++++ ...ield.storage.taxonomy_term.field_image.yml | 30 ++++++++ ...storage.taxonomy_term.field_programmes.yml | 20 +++++ 6 files changed, 238 insertions(+) create mode 100644 config/sync/core.entity_form_display.taxonomy_term.collection.default.yml create mode 100644 config/sync/core.entity_view_display.taxonomy_term.collection.default.yml create mode 100644 config/sync/field.field.taxonomy_term.collection.field_image.yml create mode 100644 config/sync/field.field.taxonomy_term.collection.field_programmes.yml create mode 100644 config/sync/field.storage.taxonomy_term.field_image.yml create mode 100644 config/sync/field.storage.taxonomy_term.field_programmes.yml diff --git a/config/sync/core.entity_form_display.taxonomy_term.collection.default.yml b/config/sync/core.entity_form_display.taxonomy_term.collection.default.yml new file mode 100644 index 00000000..32620b72 --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.collection.default.yml @@ -0,0 +1,75 @@ +uuid: 3dba3f3c-4d56-47ae-97a8-269571fdb74f +langcode: fr +status: true +dependencies: + config: + - field.field.taxonomy_term.collection.field_image + - field.field.taxonomy_term.collection.field_programmes + - image.style.thumbnail + - taxonomy.vocabulary.collection + module: + - field_group + - image + - text +third_party_settings: + field_group: + group_details: + children: { } + parent_name: '' + weight: 7 + format_type: details_sidebar + region: hidden + format_settings: + show_empty_fields: false + id: '' + classes: '' + description: '' + open: false + required_fields: true + weight: 0 + label: Details +id: taxonomy_term.collection.default +targetEntityType: taxonomy_term +bundle: collection +mode: default +content: + description: + type: text_textarea + weight: 3 + region: content + settings: + placeholder: '' + rows: 5 + third_party_settings: { } + field_image: + weight: 1 + settings: + progress_indicator: throbber + preview_image_style: thumbnail + third_party_settings: { } + type: image_image + region: content + field_programmes: + weight: 2 + settings: { } + third_party_settings: { } + type: options_select + region: content + name: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + status: + type: boolean_checkbox + weight: 4 + region: content + settings: + display_label: true + third_party_settings: { } +hidden: + langcode: true + path: true diff --git a/config/sync/core.entity_view_display.taxonomy_term.collection.default.yml b/config/sync/core.entity_view_display.taxonomy_term.collection.default.yml new file mode 100644 index 00000000..7f44fc22 --- /dev/null +++ b/config/sync/core.entity_view_display.taxonomy_term.collection.default.yml @@ -0,0 +1,43 @@ +uuid: dd7a1ae4-7d25-45d1-88f3-70262c6c84e7 +langcode: fr +status: true +dependencies: + config: + - field.field.taxonomy_term.collection.field_image + - field.field.taxonomy_term.collection.field_programmes + - taxonomy.vocabulary.collection + module: + - image + - text +id: taxonomy_term.collection.default +targetEntityType: taxonomy_term +bundle: collection +mode: default +content: + description: + label: hidden + type: text_default + weight: 0 + region: content + settings: { } + third_party_settings: { } + field_image: + weight: 1 + label: above + settings: + image_style: '' + image_link: '' + third_party_settings: { } + type: image + region: content + field_programmes: + weight: 2 + label: above + settings: + link: true + third_party_settings: { } + type: entity_reference_label + region: content +hidden: + langcode: true + search_api_excerpt: true diff --git a/config/sync/field.field.taxonomy_term.collection.field_image.yml b/config/sync/field.field.taxonomy_term.collection.field_image.yml new file mode 100644 index 00000000..92815b53 --- /dev/null +++ b/config/sync/field.field.taxonomy_term.collection.field_image.yml @@ -0,0 +1,41 @@ +uuid: d5b359f9-5756-460f-9380-3638371bc72d +langcode: fr +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_image + - taxonomy.vocabulary.collection + module: + - image +id: taxonomy_term.collection.field_image +field_name: field_image +entity_type: taxonomy_term +bundle: collection +label: Image +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + file_directory: '[date:custom:Y]-[date:custom:m]' + file_extensions: 'png gif jpg jpeg' + max_filesize: '' + max_resolution: '' + min_resolution: '' + alt_field: false + alt_field_required: false + title_field: false + title_field_required: false + default_image: + uuid: '' + alt: '' + title: '' + width: null + height: null + caption: '' + caption_field: 0 + caption_field_required: 0 + handler: 'default:file' + handler_settings: { } +field_type: image diff --git a/config/sync/field.field.taxonomy_term.collection.field_programmes.yml b/config/sync/field.field.taxonomy_term.collection.field_programmes.yml new file mode 100644 index 00000000..e93f0e74 --- /dev/null +++ b/config/sync/field.field.taxonomy_term.collection.field_programmes.yml @@ -0,0 +1,29 @@ +uuid: 0d820a84-0e13-4d30-8aae-d7e3ec284bcb +langcode: fr +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_programmes + - node.type.programme + - taxonomy.vocabulary.collection +id: taxonomy_term.collection.field_programmes +field_name: field_programmes +entity_type: taxonomy_term +bundle: collection +label: Programmes +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:node' + handler_settings: + target_bundles: + programme: programme + sort: + field: _none + direction: ASC + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/sync/field.storage.taxonomy_term.field_image.yml b/config/sync/field.storage.taxonomy_term.field_image.yml new file mode 100644 index 00000000..7abd805a --- /dev/null +++ b/config/sync/field.storage.taxonomy_term.field_image.yml @@ -0,0 +1,30 @@ +uuid: c9f36fec-c143-4b46-ae08-2e4b2c24d118 +langcode: fr +status: true +dependencies: + module: + - file + - image + - taxonomy +id: taxonomy_term.field_image +field_name: field_image +entity_type: taxonomy_term +type: image +settings: + uri_scheme: public + default_image: + uuid: '' + alt: '' + title: '' + width: null + height: null + target_type: file + display_field: false + display_default: false +module: image +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.taxonomy_term.field_programmes.yml b/config/sync/field.storage.taxonomy_term.field_programmes.yml new file mode 100644 index 00000000..0f09c915 --- /dev/null +++ b/config/sync/field.storage.taxonomy_term.field_programmes.yml @@ -0,0 +1,20 @@ +uuid: fe3cbbd7-6226-4adb-ae16-9555f9c0e6a3 +langcode: fr +status: true +dependencies: + module: + - node + - taxonomy +id: taxonomy_term.field_programmes +field_name: field_programmes +entity_type: taxonomy_term +type: entity_reference +settings: + target_type: node +module: core +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false