diff --git a/config/sync/core.entity_form_display.paragraph.content_reference.default.yml b/config/sync/core.entity_form_display.paragraph.content_reference.default.yml new file mode 100644 index 0000000..5b205ab --- /dev/null +++ b/config/sync/core.entity_form_display.paragraph.content_reference.default.yml @@ -0,0 +1,24 @@ +uuid: e50613ed-23a3-4601-bd5f-4287d40b3482 +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.content_reference.field_content_reference + - paragraphs.paragraphs_type.content_reference +id: paragraph.content_reference.default +targetEntityType: paragraph +bundle: content_reference +mode: default +content: + field_content_reference: + 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.content_reference.default.yml b/config/sync/core.entity_view_display.paragraph.content_reference.default.yml new file mode 100644 index 0000000..e6adbd4 --- /dev/null +++ b/config/sync/core.entity_view_display.paragraph.content_reference.default.yml @@ -0,0 +1,21 @@ +uuid: 160f66af-bbb4-4d93-856f-6e2be7948dbf +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.content_reference.field_content_reference + - paragraphs.paragraphs_type.content_reference +id: paragraph.content_reference.default +targetEntityType: paragraph +bundle: content_reference +mode: default +content: + field_content_reference: + weight: 0 + label: above + settings: + link: true + third_party_settings: { } + type: entity_reference_label + region: content +hidden: { } diff --git a/config/sync/field.field.node.blog.field_body_paragraph.yml b/config/sync/field.field.node.blog.field_body_paragraph.yml index 87aeef0..4d43429 100644 --- a/config/sync/field.field.node.blog.field_body_paragraph.yml +++ b/config/sync/field.field.node.blog.field_body_paragraph.yml @@ -22,15 +22,49 @@ default_value_callback: '' settings: handler: 'default:paragraph' handler_settings: + negate: 0 target_bundles: null target_bundles_drag_drop: - text: + file: weight: -7 enabled: false image: weight: -7 enabled: false - file: + text: weight: -7 enabled: false + content_reference: + weight: 15 + enabled: false + faq: + weight: 16 + enabled: false + quotation_with_image: + weight: 19 + enabled: false + slide: + weight: 20 + enabled: false + storyline_header: + weight: 21 + enabled: false + storyline_item: + weight: 22 + enabled: false + title: + weight: 24 + enabled: false + update: + weight: 25 + enabled: false + video: + weight: 26 + enabled: false + view: + weight: 27 + enabled: false + webform: + weight: 28 + enabled: false field_type: entity_reference_revisions diff --git a/config/sync/field.field.node.case_study.field_body_paragraph.yml b/config/sync/field.field.node.case_study.field_body_paragraph.yml index 2cae1e4..d52dc15 100644 --- a/config/sync/field.field.node.case_study.field_body_paragraph.yml +++ b/config/sync/field.field.node.case_study.field_body_paragraph.yml @@ -5,6 +5,7 @@ dependencies: config: - field.storage.node.field_body_paragraph - node.type.case_study + - paragraphs.paragraphs_type.content_reference - paragraphs.paragraphs_type.faq - paragraphs.paragraphs_type.file - paragraphs.paragraphs_type.image @@ -47,6 +48,7 @@ settings: update: update faq: faq video: video + content_reference: content_reference quotation_with_image: quotation_with_image view: view webform: webform @@ -81,6 +83,9 @@ settings: video: enabled: true weight: -12 + content_reference: + enabled: true + weight: 15 quotation_with_image: enabled: true weight: 17 diff --git a/config/sync/field.field.node.landing_page.field_body_paragraph.yml b/config/sync/field.field.node.landing_page.field_body_paragraph.yml index 9938e30..bea2270 100644 --- a/config/sync/field.field.node.landing_page.field_body_paragraph.yml +++ b/config/sync/field.field.node.landing_page.field_body_paragraph.yml @@ -5,6 +5,7 @@ dependencies: config: - field.storage.node.field_body_paragraph - node.type.landing_page + - paragraphs.paragraphs_type.content_reference - paragraphs.paragraphs_type.faq - paragraphs.paragraphs_type.file - paragraphs.paragraphs_type.image @@ -48,6 +49,7 @@ settings: update: update title: title view: view + content_reference: content_reference quotation_with_image: quotation_with_image webform: webform target_bundles_drag_drop: @@ -84,6 +86,9 @@ settings: view: enabled: true weight: 12 + content_reference: + enabled: true + weight: 15 quotation_with_image: enabled: true weight: 17 diff --git a/config/sync/field.field.paragraph.content_reference.field_content_reference.yml b/config/sync/field.field.paragraph.content_reference.field_content_reference.yml new file mode 100644 index 0000000..b22f61a --- /dev/null +++ b/config/sync/field.field.paragraph.content_reference.field_content_reference.yml @@ -0,0 +1,45 @@ +uuid: 65a2e9fe-e9c7-4508-bc38-fc2eaa1a0dc8 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_content_reference + - node.type.article + - node.type.blog + - node.type.campaign + - node.type.case_study + - node.type.event + - node.type.landing_page + - node.type.page + - node.type.people + - node.type.resource + - paragraphs.paragraphs_type.content_reference +id: paragraph.content_reference.field_content_reference +field_name: field_content_reference +entity_type: paragraph +bundle: content_reference +label: Content +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:node' + handler_settings: + target_bundles: + article: article + page: page + blog: blog + campaign: campaign + case_study: case_study + event: event + landing_page: landing_page + people: people + resource: resource + sort: + field: changed + direction: DESC + auto_create: false + auto_create_bundle: campaign +field_type: entity_reference diff --git a/config/sync/field.storage.paragraph.field_content_reference.yml b/config/sync/field.storage.paragraph.field_content_reference.yml new file mode 100644 index 0000000..6e6e5b8 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_content_reference.yml @@ -0,0 +1,20 @@ +uuid: 1862071b-3776-48b6-96ae-207891806771 +langcode: en +status: true +dependencies: + module: + - node + - paragraphs +id: paragraph.field_content_reference +field_name: field_content_reference +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.content_reference.yml b/config/sync/paragraphs.paragraphs_type.content_reference.yml new file mode 100644 index 0000000..ca41392 --- /dev/null +++ b/config/sync/paragraphs.paragraphs_type.content_reference.yml @@ -0,0 +1,11 @@ +uuid: 16df13f1-60e7-42e2-8ea3-4de29259a16d +langcode: en +status: true +dependencies: + content: + - 'file:file:052700be-3a94-41a7-8a54-f427611b5cf8' +id: content_reference +label: 'Content reference' +icon_uuid: 052700be-3a94-41a7-8a54-f427611b5cf8 +description: 'Create an ordered list of any other content on the site.' +behavior_plugins: { }