Compare commits

...

4 commits

13 changed files with 570 additions and 1 deletions

View file

@ -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",

102
composer.lock generated
View file

@ -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",

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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: { }

View file

@ -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: { }