From 3866e8b1426bda808eec0f58793007c2896ff23f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 10 Dec 2018 21:33:38 -0500 Subject: [PATCH] Configure a webform paragraph --- ...form_display.paragraph.webform.default.yml | 25 ++++++++++++++++ ...view_display.paragraph.webform.default.yml | 23 +++++++++++++++ ....field.paragraph.webform.field_webform.yml | 29 +++++++++++++++++++ .../field.storage.paragraph.field_webform.yml | 20 +++++++++++++ .../paragraphs.paragraphs_type.webform.yml | 9 ++++++ 5 files changed, 106 insertions(+) create mode 100644 config/sync/core.entity_form_display.paragraph.webform.default.yml create mode 100644 config/sync/core.entity_view_display.paragraph.webform.default.yml create mode 100644 config/sync/field.field.paragraph.webform.field_webform.yml create mode 100644 config/sync/field.storage.paragraph.field_webform.yml create mode 100644 config/sync/paragraphs.paragraphs_type.webform.yml diff --git a/config/sync/core.entity_form_display.paragraph.webform.default.yml b/config/sync/core.entity_form_display.paragraph.webform.default.yml new file mode 100644 index 0000000..de3ec75 --- /dev/null +++ b/config/sync/core.entity_form_display.paragraph.webform.default.yml @@ -0,0 +1,25 @@ +uuid: 02428115-3e5a-49f7-8f1b-6258a3f6cd5b +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.webform.field_webform + - paragraphs.paragraphs_type.webform + module: + - webform +id: paragraph.webform.default +targetEntityType: paragraph +bundle: webform +mode: default +content: + field_webform: + weight: 0 + settings: + default_data: true + third_party_settings: { } + type: webform_entity_reference_select + region: content +hidden: + created: true + status: true + uid: true diff --git a/config/sync/core.entity_view_display.paragraph.webform.default.yml b/config/sync/core.entity_view_display.paragraph.webform.default.yml new file mode 100644 index 0000000..98dc800 --- /dev/null +++ b/config/sync/core.entity_view_display.paragraph.webform.default.yml @@ -0,0 +1,23 @@ +uuid: f8ef0a35-c37b-4b1b-a38f-702315aa83fa +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.webform.field_webform + - paragraphs.paragraphs_type.webform + module: + - webform +id: paragraph.webform.default +targetEntityType: paragraph +bundle: webform +mode: default +content: + field_webform: + weight: 0 + label: hidden + settings: + source_entity: true + third_party_settings: { } + type: webform_entity_reference_entity_view + region: content +hidden: { } diff --git a/config/sync/field.field.paragraph.webform.field_webform.yml b/config/sync/field.field.paragraph.webform.field_webform.yml new file mode 100644 index 0000000..46f80a7 --- /dev/null +++ b/config/sync/field.field.paragraph.webform.field_webform.yml @@ -0,0 +1,29 @@ +uuid: 80d76a08-0ac0-4c55-aed7-75d47bf0652e +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_webform + - paragraphs.paragraphs_type.webform + module: + - webform +id: paragraph.webform.field_webform +field_name: field_webform +entity_type: paragraph +bundle: webform +label: Webform +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:webform' + handler_settings: + target_bundles: null + auto_create: false + default_data: '' + status: open + open: '' + close: '' +field_type: webform diff --git a/config/sync/field.storage.paragraph.field_webform.yml b/config/sync/field.storage.paragraph.field_webform.yml new file mode 100644 index 0000000..a5c4741 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_webform.yml @@ -0,0 +1,20 @@ +uuid: 1392d91e-9a3e-4b6c-9bc1-8559c49f2876 +langcode: en +status: true +dependencies: + module: + - paragraphs + - webform +id: paragraph.field_webform +field_name: field_webform +entity_type: paragraph +type: webform +settings: + target_type: webform +module: webform +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/paragraphs.paragraphs_type.webform.yml b/config/sync/paragraphs.paragraphs_type.webform.yml new file mode 100644 index 0000000..817ca50 --- /dev/null +++ b/config/sync/paragraphs.paragraphs_type.webform.yml @@ -0,0 +1,9 @@ +uuid: fda0eced-7d18-4a73-af1a-55ed0644fca1 +langcode: en +status: true +dependencies: { } +id: webform +label: Webform +icon_uuid: null +description: 'Embed a webform in your page.' +behavior_plugins: { }