From 809f6e82846a1dda48e49f684e705c68d5e54090 Mon Sep 17 00:00:00 2001 From: Keegan Rankin Date: Thu, 15 Feb 2024 16:07:53 -0800 Subject: [PATCH 1/7] Add multiparagraph flow to composer requirements --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index 2f887ef..4d08ba3 100644 --- a/composer.json +++ b/composer.json @@ -111,6 +111,7 @@ "drupal/migrate_tools": "^6", "drupal/migrate_upgrade": "^4", "drupal/minimalhtml": "^2", + "drupal/multiparagraph_flow": "^1", "drupal/node_view_permissions": "^1.4", "drupal/noreferrer": "^1", "drupal/notfoundpassthrough": "1.x-dev", -- 2.45.2 From 09217e1231cf37c672ad94b71f1cdaa1e2d43fd9 Mon Sep 17 00:00:00 2001 From: Keegan Rankin Date: Thu, 15 Feb 2024 16:08:07 -0800 Subject: [PATCH 2/7] Update lock file --- composer.lock | 102 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 101 insertions(+), 1 deletion(-) diff --git a/composer.lock b/composer.lock index d5661ba..3f3cd8f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "c1e7ffd9a4cd179f6cfd7015239d1ff2", + "content-hash": "ff272de4512a4f002f81296a9102c8c6", "packages": [ { "name": "abraham/twitteroauth", @@ -13208,6 +13208,49 @@ "source": "https://git.drupalcode.org/project/minimalhtml" } }, + { + "name": "drupal/multiparagraph_flow", + "version": "dev-1.0.x", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/multiparagraph_flow.git", + "reference": "3f431ae615356964ceb93f9198fe41b6c9bbff7c" + }, + "require": { + "drupal/core": "^9.3 || ^10", + "drupal/paragraphs": "*", + "drupal/paragraphs_browser": "*" + }, + "type": "drupal-module", + "extra": { + "branch-alias": { + "dev-1.0.x": "1.0.x-dev" + }, + "drupal": { + "version": "1.0.x-dev", + "datestamp": "1708020867", + "security-coverage": { + "status": "not-covered", + "message": "Project has not opted into security advisory coverage!" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "MegaKeegMan", + "homepage": "https://www.drupal.org/user/3620027" + } + ], + "description": "Provides a paragraph type that contains a css grid of other paragraphs.", + "homepage": "https://www.drupal.org/project/multiparagraph_flow", + "support": { + "source": "https://git.drupalcode.org/project/multiparagraph_flow" + } + }, { "name": "drupal/node_view_permissions", "version": "1.6.0", @@ -13605,6 +13648,63 @@ "source": "https://git.drupalcode.org/project/paragraphs" } }, + { + "name": "drupal/paragraphs_browser", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/paragraphs_browser.git", + "reference": "8.x-1.1" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/paragraphs_browser-8.x-1.1.zip", + "reference": "8.x-1.1", + "shasum": "79d34a4885c7c669bb3a481f9aa25b91cad7aab0" + }, + "require": { + "drupal/core": "^9.3 || ^10", + "drupal/paragraphs": "*" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-1.1", + "datestamp": "1673972153", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "Deciphered", + "homepage": "https://www.drupal.org/user/103796" + }, + { + "name": "michaellander", + "homepage": "https://www.drupal.org/user/636494" + }, + { + "name": "Mojiferous", + "homepage": "https://www.drupal.org/user/1678298" + }, + { + "name": "tandroid", + "homepage": "https://www.drupal.org/user/2879591" + } + ], + "description": "Provides browser for adding additional paragraphs.", + "homepage": "https://www.drupal.org/project/paragraphs_browser", + "support": { + "source": "https://git.drupalcode.org/project/paragraphs_browser" + } + }, { "name": "drupal/paragraphs_features", "version": "2.0.0-beta4", -- 2.45.2 From b3d3a0531093ec99b6d27c3b917b0e3e1e735763 Mon Sep 17 00:00:00 2001 From: Keegan Rankin Date: Thu, 15 Feb 2024 16:24:23 -0800 Subject: [PATCH 3/7] Enable multiparagraph flow --- ....paragraph.multiparagraph_flow.default.yml | 48 +++++++++++++++++++ ....paragraph.multiparagraph_flow.default.yml | 29 +++++++++++ config/core.extension.yml | 2 + ...h.multiparagraph_flow.field_grid_width.yml | 25 ++++++++++ ...h.multiparagraph_flow.field_paragraphs.yml | 28 +++++++++++ ...eld.storage.paragraph.field_grid_width.yml | 32 +++++++++++++ ...eld.storage.paragraph.field_paragraphs.yml | 22 +++++++++ ...hs.paragraphs_type.multiparagraph_flow.yml | 12 +++++ ...rowser.paragraphs_browser_type.content.yml | 10 ++++ 9 files changed, 208 insertions(+) create mode 100644 config/core.entity_form_display.paragraph.multiparagraph_flow.default.yml create mode 100644 config/core.entity_view_display.paragraph.multiparagraph_flow.default.yml create mode 100644 config/field.field.paragraph.multiparagraph_flow.field_grid_width.yml create mode 100644 config/field.field.paragraph.multiparagraph_flow.field_paragraphs.yml create mode 100644 config/field.storage.paragraph.field_grid_width.yml create mode 100644 config/field.storage.paragraph.field_paragraphs.yml create mode 100644 config/paragraphs.paragraphs_type.multiparagraph_flow.yml create mode 100644 config/paragraphs_browser.paragraphs_browser_type.content.yml diff --git a/config/core.entity_form_display.paragraph.multiparagraph_flow.default.yml b/config/core.entity_form_display.paragraph.multiparagraph_flow.default.yml new file mode 100644 index 0000000..1340725 --- /dev/null +++ b/config/core.entity_form_display.paragraph.multiparagraph_flow.default.yml @@ -0,0 +1,48 @@ +uuid: 8bffc5b0-263e-4c44-bcab-70f34547ed82 +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.multiparagraph_flow.field_grid_width + - field.field.paragraph.multiparagraph_flow.field_paragraphs + - paragraphs.paragraphs_type.multiparagraph_flow + module: + - paragraphs_browser +_core: + default_config_hash: oS6PdNiyJWZ-TAlQLtNmvkdNLvOLrwBpnqmqWR_Q8Ns +id: paragraph.multiparagraph_flow.default +targetEntityType: paragraph +bundle: multiparagraph_flow +mode: default +content: + field_grid_width: + type: options_select + weight: 0 + region: content + settings: { } + third_party_settings: { } + field_paragraphs: + type: paragraphs_browser + weight: 1 + region: content + settings: + title: Paragraph + title_plural: Paragraphs + edit_mode: open + closed_mode: preview + autocollapse: none + closed_mode_threshold: '0' + add_mode: paragraphs_browser + form_display_mode: default + default_paragraph_type: _none + paragraphs_browser: content + modal_width: 80% + modal_height: auto + features: + duplicate: 0 + collapse_edit_all: 0 + add_above: 0 + third_party_settings: { } +hidden: + created: true + status: true diff --git a/config/core.entity_view_display.paragraph.multiparagraph_flow.default.yml b/config/core.entity_view_display.paragraph.multiparagraph_flow.default.yml new file mode 100644 index 0000000..7170149 --- /dev/null +++ b/config/core.entity_view_display.paragraph.multiparagraph_flow.default.yml @@ -0,0 +1,29 @@ +uuid: 4c9b6f49-b1e3-4917-85bd-bfe3002d9a3c +langcode: en +status: true +dependencies: + config: + - field.field.paragraph.multiparagraph_flow.field_grid_width + - field.field.paragraph.multiparagraph_flow.field_paragraphs + - paragraphs.paragraphs_type.multiparagraph_flow + module: + - entity_reference_revisions +_core: + default_config_hash: K_nnfb4HOUIyo6Ig_qWmpGzKxPQLVCuMHA02xZgBrWc +id: paragraph.multiparagraph_flow.default +targetEntityType: paragraph +bundle: multiparagraph_flow +mode: default +content: + field_paragraphs: + type: entity_reference_revisions_entity_view + label: hidden + settings: + view_mode: default + link: '' + third_party_settings: { } + weight: 0 + region: content +hidden: + field_grid_width: true + search_api_excerpt: true diff --git a/config/core.extension.yml b/config/core.extension.yml index 8916c8e..78e0f00 100644 --- a/config/core.extension.yml +++ b/config/core.extension.yml @@ -84,10 +84,12 @@ module: menu_link_content: 0 menu_ui: 0 metatag: 0 + multiparagraph_flow: 0 mysql: 0 node: 0 options: 0 page_cache: 0 + paragraphs_browser: 0 path: 0 path_alias: 0 rdf: 0 diff --git a/config/field.field.paragraph.multiparagraph_flow.field_grid_width.yml b/config/field.field.paragraph.multiparagraph_flow.field_grid_width.yml new file mode 100644 index 0000000..ae6a8ca --- /dev/null +++ b/config/field.field.paragraph.multiparagraph_flow.field_grid_width.yml @@ -0,0 +1,25 @@ +uuid: cb26f4f5-fcda-44a3-b1de-06a1b05a7424 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_grid_width + - paragraphs.paragraphs_type.multiparagraph_flow + module: + - options +_core: + default_config_hash: jSozF_a10n_jYgwgJaglnSzqjvAqcSwkFPtYp3IfxGg +id: paragraph.multiparagraph_flow.field_grid_width +field_name: field_grid_width +entity_type: paragraph +bundle: multiparagraph_flow +label: 'Grid width' +description: '' +required: true +translatable: false +default_value: + - + value: grid-halves +default_value_callback: '' +settings: { } +field_type: list_string diff --git a/config/field.field.paragraph.multiparagraph_flow.field_paragraphs.yml b/config/field.field.paragraph.multiparagraph_flow.field_paragraphs.yml new file mode 100644 index 0000000..0e66e6c --- /dev/null +++ b/config/field.field.paragraph.multiparagraph_flow.field_paragraphs.yml @@ -0,0 +1,28 @@ +uuid: b1774c1b-8977-4374-81af-6f8e2a0e7988 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_paragraphs + - paragraphs.paragraphs_type.multiparagraph_flow + module: + - entity_reference_revisions +_core: + default_config_hash: E6Lu-yxuv8Iy5w6xRjOr8S5KJWz2zcupyxToFl2TzsM +id: paragraph.multiparagraph_flow.field_paragraphs +field_name: field_paragraphs +entity_type: paragraph +bundle: multiparagraph_flow +label: Paragraphs +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:paragraph' + handler_settings: + target_bundles: { } + negate: 0 + target_bundles_drag_drop: { } +field_type: entity_reference_revisions diff --git a/config/field.storage.paragraph.field_grid_width.yml b/config/field.storage.paragraph.field_grid_width.yml new file mode 100644 index 0000000..57cf059 --- /dev/null +++ b/config/field.storage.paragraph.field_grid_width.yml @@ -0,0 +1,32 @@ +uuid: 281295e0-5b05-44bc-a3bd-c12fcef970ab +langcode: en +status: true +dependencies: + module: + - options + - paragraphs +_core: + default_config_hash: W2rjPZuwzy7PsWFVEfEYU_HZFSHIQlrqLtKLJ6WATPs +id: paragraph.field_grid_width +field_name: field_grid_width +entity_type: paragraph +type: list_string +settings: + allowed_values: + - + value: grid-halves + label: Halves + - + value: grid-thirds + label: Thirds + - + value: grid-quarters + label: Quarters + allowed_values_function: '' +module: options +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/field.storage.paragraph.field_paragraphs.yml b/config/field.storage.paragraph.field_paragraphs.yml new file mode 100644 index 0000000..df547c4 --- /dev/null +++ b/config/field.storage.paragraph.field_paragraphs.yml @@ -0,0 +1,22 @@ +uuid: 1bc8f17b-fb51-42c0-a635-173f71b950bc +langcode: en +status: true +dependencies: + module: + - entity_reference_revisions + - paragraphs +_core: + default_config_hash: UBsTvp4u2rqyly-DeZ9V9EdoeJMf6MQIOMT2SqTaeSI +id: paragraph.field_paragraphs +field_name: field_paragraphs +entity_type: paragraph +type: entity_reference_revisions +settings: + target_type: paragraph +module: entity_reference_revisions +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/paragraphs.paragraphs_type.multiparagraph_flow.yml b/config/paragraphs.paragraphs_type.multiparagraph_flow.yml new file mode 100644 index 0000000..f4ba3a0 --- /dev/null +++ b/config/paragraphs.paragraphs_type.multiparagraph_flow.yml @@ -0,0 +1,12 @@ +uuid: d4534da1-3fb9-4bd0-af77-27b96d1ddbd5 +langcode: en +status: true +dependencies: { } +_core: + default_config_hash: S-ZMpJQ-u9MI7LGfJsDKCYfcTpaVWUJWxAGE58qB_14 +id: multiparagraph_flow +label: 'Multiparagraph Flow' +icon_uuid: null +icon_default: null +description: 'Use for showing different types of paragraphs (image, media) horizontally, side-by-side, in a 50-50 split, one-third split, or one-quarter split horizontally (on larger screens).' +behavior_plugins: { } diff --git a/config/paragraphs_browser.paragraphs_browser_type.content.yml b/config/paragraphs_browser.paragraphs_browser_type.content.yml new file mode 100644 index 0000000..21595b6 --- /dev/null +++ b/config/paragraphs_browser.paragraphs_browser_type.content.yml @@ -0,0 +1,10 @@ +uuid: d5865e9a-723f-4604-83ce-29cc89d9b1e8 +langcode: en +status: true +dependencies: { } +_core: + default_config_hash: KUumpKGaihwt7ld0Ba82jPUpgKDO5aE066wdVfFAztU +id: content +label: Content +groups: { } +map: { } -- 2.45.2 From 5b34504c3ff16f98ccc4928e00bb85b11720278c Mon Sep 17 00:00:00 2001 From: Keegan Rankin Date: Thu, 15 Feb 2024 16:24:39 -0800 Subject: [PATCH 4/7] Add config snapshots --- ...config_sync.module.multiparagraph_flow.yml | 236 ++++++++++++++++++ ....config_sync.module.paragraphs_browser.yml | 24 ++ 2 files changed, 260 insertions(+) create mode 100644 config/config_snapshot.snapshot.config_sync.module.multiparagraph_flow.yml create mode 100644 config/config_snapshot.snapshot.config_sync.module.paragraphs_browser.yml diff --git a/config/config_snapshot.snapshot.config_sync.module.multiparagraph_flow.yml b/config/config_snapshot.snapshot.config_sync.module.multiparagraph_flow.yml new file mode 100644 index 0000000..588c123 --- /dev/null +++ b/config/config_snapshot.snapshot.config_sync.module.multiparagraph_flow.yml @@ -0,0 +1,236 @@ +uuid: 134217b3-43ca-41b0-af18-ae0f22496685 +langcode: en +status: true +dependencies: + module: + - multiparagraph_flow +id: config_sync.module.multiparagraph_flow +snapshotSet: config_sync +extensionType: module +extensionName: multiparagraph_flow +items: + - + collection: '' + name: core.entity_form_display.paragraph.multiparagraph_flow.default + data: + langcode: en + status: true + dependencies: + config: + - field.field.paragraph.multiparagraph_flow.field_grid_width + - field.field.paragraph.multiparagraph_flow.field_paragraphs + - paragraphs.paragraphs_type.multiparagraph_flow + module: + - multiparagraph_flow + - paragraphs_browser + id: paragraph.multiparagraph_flow.default + targetEntityType: paragraph + bundle: multiparagraph_flow + mode: default + content: + field_grid_width: + type: options_select + weight: 0 + region: content + settings: { } + third_party_settings: { } + field_paragraphs: + type: paragraphs_browser + weight: 1 + region: content + settings: + title: Paragraph + title_plural: Paragraphs + edit_mode: open + closed_mode: preview + autocollapse: none + closed_mode_threshold: '0' + add_mode: paragraphs_browser + form_display_mode: default + default_paragraph_type: _none + paragraphs_browser: content + modal_width: 80% + modal_height: auto + features: + duplicate: 0 + collapse_edit_all: 0 + add_above: 0 + third_party_settings: { } + hidden: + created: true + status: true + _core: + default_config_hash: oS6PdNiyJWZ-TAlQLtNmvkdNLvOLrwBpnqmqWR_Q8Ns + - + collection: '' + name: core.entity_view_display.paragraph.multiparagraph_flow.default + data: + langcode: en + status: true + dependencies: + config: + - field.field.paragraph.multiparagraph_flow.field_grid_width + - field.field.paragraph.multiparagraph_flow.field_paragraphs + - paragraphs.paragraphs_type.multiparagraph_flow + module: + - entity_reference_revisions + - multiparagraph_flow + id: paragraph.multiparagraph_flow.default + targetEntityType: paragraph + bundle: multiparagraph_flow + mode: default + content: + field_paragraphs: + type: entity_reference_revisions_entity_view + label: hidden + settings: + view_mode: default + link: '' + third_party_settings: { } + weight: 0 + region: content + hidden: + field_grid_width: true + search_api_excerpt: true + _core: + default_config_hash: K_nnfb4HOUIyo6Ig_qWmpGzKxPQLVCuMHA02xZgBrWc + - + collection: '' + name: field.field.paragraph.multiparagraph_flow.field_grid_width + data: + langcode: en + status: true + dependencies: + config: + - field.storage.paragraph.field_grid_width + - paragraphs.paragraphs_type.multiparagraph_flow + module: + - multiparagraph_flow + - options + id: paragraph.multiparagraph_flow.field_grid_width + field_name: field_grid_width + entity_type: paragraph + bundle: multiparagraph_flow + label: 'Grid width' + description: '' + required: true + translatable: false + default_value: + - + value: grid-halves + default_value_callback: '' + settings: { } + field_type: list_string + _core: + default_config_hash: jSozF_a10n_jYgwgJaglnSzqjvAqcSwkFPtYp3IfxGg + - + collection: '' + name: field.field.paragraph.multiparagraph_flow.field_paragraphs + data: + langcode: en + status: true + dependencies: + config: + - field.storage.paragraph.field_paragraphs + - paragraphs.paragraphs_type.multiparagraph_flow + module: + - entity_reference_revisions + - multiparagraph_flow + id: paragraph.multiparagraph_flow.field_paragraphs + field_name: field_paragraphs + entity_type: paragraph + bundle: multiparagraph_flow + label: Paragraphs + description: '' + required: true + translatable: false + default_value: { } + default_value_callback: '' + settings: + handler: 'default:paragraph' + handler_settings: + target_bundles: { } + negate: 0 + target_bundles_drag_drop: { } + field_type: entity_reference_revisions + _core: + default_config_hash: E6Lu-yxuv8Iy5w6xRjOr8S5KJWz2zcupyxToFl2TzsM + - + collection: '' + name: field.storage.paragraph.field_grid_width + data: + langcode: en + status: true + dependencies: + module: + - multiparagraph_flow + - options + - paragraphs + id: paragraph.field_grid_width + field_name: field_grid_width + entity_type: paragraph + type: list_string + settings: + allowed_values: + - + value: grid-halves + label: Halves + - + value: grid-thirds + label: Thirds + - + value: grid-quarters + label: Quarters + allowed_values_function: '' + module: options + locked: false + cardinality: 1 + translatable: true + indexes: { } + persist_with_no_fields: false + custom_storage: false + _core: + default_config_hash: W2rjPZuwzy7PsWFVEfEYU_HZFSHIQlrqLtKLJ6WATPs + - + collection: '' + name: field.storage.paragraph.field_paragraphs + data: + langcode: en + status: true + dependencies: + module: + - entity_reference_revisions + - multiparagraph_flow + - paragraphs + id: paragraph.field_paragraphs + field_name: field_paragraphs + entity_type: paragraph + type: entity_reference_revisions + settings: + target_type: paragraph + module: entity_reference_revisions + locked: false + cardinality: -1 + translatable: true + indexes: { } + persist_with_no_fields: false + custom_storage: false + _core: + default_config_hash: UBsTvp4u2rqyly-DeZ9V9EdoeJMf6MQIOMT2SqTaeSI + - + collection: '' + name: paragraphs.paragraphs_type.multiparagraph_flow + data: + langcode: en + status: true + dependencies: + module: + - multiparagraph_flow + id: multiparagraph_flow + label: 'Multiparagraph Flow' + icon_uuid: null + icon_default: null + description: 'Use for showing different types of paragraphs (image, media) horizontally, side-by-side, in a 50-50 split, one-third split, or one-quarter split horizontally (on larger screens).' + behavior_plugins: { } + _core: + default_config_hash: S-ZMpJQ-u9MI7LGfJsDKCYfcTpaVWUJWxAGE58qB_14 diff --git a/config/config_snapshot.snapshot.config_sync.module.paragraphs_browser.yml b/config/config_snapshot.snapshot.config_sync.module.paragraphs_browser.yml new file mode 100644 index 0000000..eea9317 --- /dev/null +++ b/config/config_snapshot.snapshot.config_sync.module.paragraphs_browser.yml @@ -0,0 +1,24 @@ +uuid: f76c6473-9cbc-4dfd-a454-d10ded9606d9 +langcode: en +status: true +dependencies: + module: + - paragraphs_browser +id: config_sync.module.paragraphs_browser +snapshotSet: config_sync +extensionType: module +extensionName: paragraphs_browser +items: + - + collection: '' + name: paragraphs_browser.paragraphs_browser_type.content + data: + uuid: d5865e9a-723f-4604-83ce-29cc89d9b1e8 + langcode: en + status: true + dependencies: { } + id: content + label: Content + groups: { } + _core: + default_config_hash: KUumpKGaihwt7ld0Ba82jPUpgKDO5aE066wdVfFAztU -- 2.45.2 From 829cc784b2bbb830bfcf52b7cd42c0e2d4d7b4a2 Mon Sep 17 00:00:00 2001 From: Keegan Rankin Date: Tue, 20 Feb 2024 12:39:28 -0800 Subject: [PATCH 5/7] Update lock file --- composer.lock | 48 ++++++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/composer.lock b/composer.lock index 3f3cd8f..40c1824 100644 --- a/composer.lock +++ b/composer.lock @@ -2361,17 +2361,17 @@ }, { "name": "drupal/antibot", - "version": "2.0.2", + "version": "2.0.3", "source": { "type": "git", "url": "https://git.drupalcode.org/project/antibot.git", - "reference": "2.0.2" + "reference": "2.0.3" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/antibot-2.0.2.zip", - "reference": "2.0.2", - "shasum": "e5866fbe1d8e5ff2811ff77efee754d26c313efb" + "url": "https://ftp.drupal.org/files/projects/antibot-2.0.3.zip", + "reference": "2.0.3", + "shasum": "b26b603299ee3067e0aa3875ff752815f21d2f0b" }, "require": { "drupal/core": "^8.8 || ^9 || ^10" @@ -2379,8 +2379,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "2.0.2", - "datestamp": "1666001671", + "version": "2.0.3", + "datestamp": "1708358087", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -2392,6 +2392,10 @@ "GPL-2.0+" ], "authors": [ + { + "name": "danrod", + "homepage": "https://www.drupal.org/user/19150" + }, { "name": "gaurav.kapoor", "homepage": "https://www.drupal.org/user/3495331" @@ -13502,7 +13506,7 @@ "source": { "type": "git", "url": "https://git.drupalcode.org/project/octavia_camouflage.git", - "reference": "e0f08290fd3c86525847f260f15f2e0aaa10e69c" + "reference": "bf0cbbfe0f3f4688da26001cd4e554dee565a4d0" }, "require": { "drupal/core": "^9 || ^10", @@ -13515,7 +13519,7 @@ }, "drupal": { "version": "2.0.x-dev", - "datestamp": "1706247233", + "datestamp": "1708390079", "security-coverage": { "status": "not-covered", "message": "Project has not opted into security advisory coverage!" @@ -19972,16 +19976,16 @@ }, { "name": "league/csv", - "version": "9.14.0", + "version": "9.15.0", "source": { "type": "git", "url": "https://github.com/thephpleague/csv.git", - "reference": "34bf0df7340b60824b9449b5c526fcc3325070d5" + "reference": "fa7e2441c0bc9b2360f4314fd6c954f7ff40d435" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/csv/zipball/34bf0df7340b60824b9449b5c526fcc3325070d5", - "reference": "34bf0df7340b60824b9449b5c526fcc3325070d5", + "url": "https://api.github.com/repos/thephpleague/csv/zipball/fa7e2441c0bc9b2360f4314fd6c954f7ff40d435", + "reference": "fa7e2441c0bc9b2360f4314fd6c954f7ff40d435", "shasum": "" }, "require": { @@ -19996,12 +20000,12 @@ "ext-xdebug": "*", "friendsofphp/php-cs-fixer": "^v3.22.0", "phpbench/phpbench": "^1.2.15", - "phpstan/phpstan": "^1.10.50", + "phpstan/phpstan": "^1.10.57", "phpstan/phpstan-deprecation-rules": "^1.1.4", "phpstan/phpstan-phpunit": "^1.3.15", "phpstan/phpstan-strict-rules": "^1.5.2", - "phpunit/phpunit": "^10.5.3", - "symfony/var-dumper": "^6.4.0" + "phpunit/phpunit": "^10.5.9", + "symfony/var-dumper": "^6.4.2" }, "suggest": { "ext-dom": "Required to use the XMLConverter and the HTMLConverter classes", @@ -20057,7 +20061,7 @@ "type": "github" } ], - "time": "2023-12-29T07:34:53+00:00" + "time": "2024-02-20T20:00:00+00:00" }, { "name": "league/oauth2-client", @@ -26609,16 +26613,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.58", + "version": "1.10.59", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "a23518379ec4defd9e47cbf81019526861623ec2" + "reference": "e607609388d3a6d418a50a49f7940e8086798281" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/a23518379ec4defd9e47cbf81019526861623ec2", - "reference": "a23518379ec4defd9e47cbf81019526861623ec2", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e607609388d3a6d418a50a49f7940e8086798281", + "reference": "e607609388d3a6d418a50a49f7940e8086798281", "shasum": "" }, "require": { @@ -26667,7 +26671,7 @@ "type": "tidelift" } ], - "time": "2024-02-12T20:02:57+00:00" + "time": "2024-02-20T13:59:13+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", -- 2.45.2 From 6d7101e0b2f809ec31d0032e14a388db1bed0745 Mon Sep 17 00:00:00 2001 From: Keegan Rankin Date: Tue, 20 Feb 2024 12:50:50 -0800 Subject: [PATCH 6/7] Configure multiparagraph flow paragraph and enable for page nodes --- ...d.field.node.page.field_body_paragraph.yml | 51 +++++++++++-------- ...h.multiparagraph_flow.field_paragraphs.yml | 38 +++++++++++++- 2 files changed, 67 insertions(+), 22 deletions(-) diff --git a/config/field.field.node.page.field_body_paragraph.yml b/config/field.field.node.page.field_body_paragraph.yml index e32de60..4939374 100644 --- a/config/field.field.node.page.field_body_paragraph.yml +++ b/config/field.field.node.page.field_body_paragraph.yml @@ -8,6 +8,7 @@ dependencies: - paragraphs.paragraphs_type.faq - paragraphs.paragraphs_type.file - paragraphs.paragraphs_type.image + - paragraphs.paragraphs_type.multiparagraph_flow - paragraphs.paragraphs_type.slide - paragraphs.paragraphs_type.text - paragraphs.paragraphs_type.update @@ -29,7 +30,6 @@ default_value_callback: '' settings: handler: 'default:paragraph' handler_settings: - negate: 0 target_bundles: text: text image: image @@ -38,26 +38,37 @@ settings: slide: slide update: update faq: faq + multiparagraph_flow: multiparagraph_flow + negate: 0 target_bundles_drag_drop: - text: - enabled: true - weight: -15 - image: - enabled: true - weight: -14 - file: - enabled: true - weight: -13 - video: - enabled: true - weight: -12 - slide: - enabled: true - weight: -11 - update: - enabled: true - weight: -10 faq: - enabled: true weight: -9 + enabled: true + file: + weight: -13 + enabled: true + image: + weight: -14 + enabled: true + multiparagraph_flow: + weight: 14 + enabled: true + slide: + weight: -11 + enabled: true + storyline_header: + weight: 16 + enabled: false + storyline_item: + weight: 17 + enabled: false + text: + weight: -15 + enabled: true + update: + weight: -10 + enabled: true + video: + weight: -12 + enabled: true field_type: entity_reference_revisions diff --git a/config/field.field.paragraph.multiparagraph_flow.field_paragraphs.yml b/config/field.field.paragraph.multiparagraph_flow.field_paragraphs.yml index 0e66e6c..c607c7f 100644 --- a/config/field.field.paragraph.multiparagraph_flow.field_paragraphs.yml +++ b/config/field.field.paragraph.multiparagraph_flow.field_paragraphs.yml @@ -4,7 +4,9 @@ status: true dependencies: config: - field.storage.paragraph.field_paragraphs + - paragraphs.paragraphs_type.image - paragraphs.paragraphs_type.multiparagraph_flow + - paragraphs.paragraphs_type.text module: - entity_reference_revisions _core: @@ -22,7 +24,39 @@ default_value_callback: '' settings: handler: 'default:paragraph' handler_settings: - target_bundles: { } + target_bundles: + image: image + text: text negate: 0 - target_bundles_drag_drop: { } + target_bundles_drag_drop: + faq: + weight: 11 + enabled: false + file: + weight: 12 + enabled: false + image: + weight: 13 + enabled: true + multiparagraph_flow: + weight: 14 + enabled: false + slide: + weight: 15 + enabled: false + storyline_header: + weight: 16 + enabled: false + storyline_item: + weight: 17 + enabled: false + text: + weight: 18 + enabled: true + update: + weight: 19 + enabled: false + video: + weight: 20 + enabled: false field_type: entity_reference_revisions -- 2.45.2 From c685efca16bb57eac53e4e2e53fdbe5ed6a4fb28 Mon Sep 17 00:00:00 2001 From: Keegan Rankin Date: Tue, 20 Feb 2024 13:05:21 -0800 Subject: [PATCH 7/7] Update lock file --- composer.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.lock b/composer.lock index 40c1824..a4d235d 100644 --- a/composer.lock +++ b/composer.lock @@ -13218,7 +13218,7 @@ "source": { "type": "git", "url": "https://git.drupalcode.org/project/multiparagraph_flow.git", - "reference": "3f431ae615356964ceb93f9198fe41b6c9bbff7c" + "reference": "234c5dbde159d014dfb66439cbbe5771f02df5d0" }, "require": { "drupal/core": "^9.3 || ^10", @@ -13232,7 +13232,7 @@ }, "drupal": { "version": "1.0.x-dev", - "datestamp": "1708020867", + "datestamp": "1708463049", "security-coverage": { "status": "not-covered", "message": "Project has not opted into security advisory coverage!" -- 2.45.2