diff --git a/config/sync/core.entity_form_display.paragraph.drutopia_collection.default.yml b/config/sync/core.entity_form_display.paragraph.drutopia_collection.default.yml new file mode 100644 index 0000000..3cd4290 --- /dev/null +++ b/config/sync/core.entity_form_display.paragraph.drutopia_collection.default.yml @@ -0,0 +1,23 @@ +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.drutopia_collection.field_items + - paragraphs.paragraphs_type.drutopia_collection +id: paragraph.drutopia_collection.default +targetEntityType: paragraph +bundle: drutopia_collection +mode: default +content: + field_items: + weight: 0 + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + third_party_settings: { } + type: entity_reference_autocomplete + region: content +hidden: + created: true + status: true diff --git a/config/sync/core.entity_view_display.paragraph.drutopia_collection.default.yml b/config/sync/core.entity_view_display.paragraph.drutopia_collection.default.yml new file mode 100644 index 0000000..be96d04 --- /dev/null +++ b/config/sync/core.entity_view_display.paragraph.drutopia_collection.default.yml @@ -0,0 +1,21 @@ +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.drutopia_collection.field_items + - paragraphs.paragraphs_type.drutopia_collection +id: paragraph.drutopia_collection.default +targetEntityType: paragraph +bundle: drutopia_collection +mode: default +content: + field_items: + weight: 0 + label: above + settings: + link: true + third_party_settings: { } + type: entity_reference_label + region: content +hidden: + search_api_excerpt: true diff --git a/config/sync/field.field.node.collection.field_body_paragraph.yml b/config/sync/field.field.node.collection.field_body_paragraph.yml new file mode 100644 index 0000000..b674ae7 --- /dev/null +++ b/config/sync/field.field.node.collection.field_body_paragraph.yml @@ -0,0 +1,55 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_body_paragraph + - node.type.collection + - paragraphs.paragraphs_type.drutopia_collection + - paragraphs.paragraphs_type.image + - paragraphs.paragraphs_type.text + module: + - entity_reference_revisions +id: node.collection.field_body_paragraph +field_name: field_body_paragraph +entity_type: node +bundle: collection +label: 'Body paragraph' +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: + handler: 'default:paragraph' + handler_settings: + negate: 0 + target_bundles: + drutopia_collection: drutopia_collection + image: image + text: text + target_bundles_drag_drop: + drutopia_collection: + enabled: true + weight: 9 + faq: + weight: 10 + enabled: false + file: + weight: 11 + enabled: false + image: + enabled: true + weight: 12 + slide: + weight: 13 + enabled: false + text: + enabled: true + weight: 14 + update: + weight: 15 + enabled: false + video: + weight: 16 + enabled: false +field_type: entity_reference_revisions diff --git a/config/sync/field.field.paragraph.drutopia_collection.field_items.yml b/config/sync/field.field.paragraph.drutopia_collection.field_items.yml new file mode 100644 index 0000000..963f152 --- /dev/null +++ b/config/sync/field.field.paragraph.drutopia_collection.field_items.yml @@ -0,0 +1,32 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_items + - node.type.article + - node.type.blog + - node.type.people + - paragraphs.paragraphs_type.drutopia_collection +id: paragraph.drutopia_collection.field_items +field_name: field_items +entity_type: paragraph +bundle: drutopia_collection +label: Items +description: 'Select any other content on the site to display as a list of teasers by typing words from the title and looking for the autocompletion of the content you want in the collection. You can change the order after adding each item.' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:node' + handler_settings: + target_bundles: + article: article + blog: blog + people: people + sort: + field: changed + direction: DESC + auto_create: false + auto_create_bundle: article +field_type: entity_reference diff --git a/config/sync/field.storage.paragraph.field_items.yml b/config/sync/field.storage.paragraph.field_items.yml new file mode 100644 index 0000000..9864e2f --- /dev/null +++ b/config/sync/field.storage.paragraph.field_items.yml @@ -0,0 +1,19 @@ +langcode: en +status: true +dependencies: + module: + - node + - paragraphs +id: paragraph.field_items +field_name: field_items +entity_type: paragraph +type: entity_reference +settings: + target_type: node +module: core +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/paragraphs.paragraphs_type.drutopia_collection.yml b/config/sync/paragraphs.paragraphs_type.drutopia_collection.yml new file mode 100644 index 0000000..de20906 --- /dev/null +++ b/config/sync/paragraphs.paragraphs_type.drutopia_collection.yml @@ -0,0 +1,8 @@ +langcode: en +status: true +dependencies: { } +id: drutopia_collection +label: Collection +icon_uuid: null +description: 'Allows grouping referenced content together. For instance, an Issue collection could use collection paragraphs to group articles into three themes within that issue.' +behavior_plugins: { }