-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #65: Add (Columns layout) variant for (Content row) paragraph t…
…ype.
- Loading branch information
Showing
7 changed files
with
118 additions
and
0 deletions.
There are no files selected for viewing
47 changes: 47 additions & 0 deletions
47
config/install/core.entity_form_display.paragraph.oe_content_row.columns_layout.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_form_mode.paragraph.columns_layout | ||
- field.field.paragraph.oe_content_row.field_oe_content_row_layout | ||
- field.field.paragraph.oe_content_row.field_oe_paragraphs | ||
- field.field.paragraph.oe_content_row.field_oe_title | ||
- paragraphs.paragraphs_type.oe_content_row | ||
module: | ||
- oe_paragraphs | ||
id: paragraph.oe_content_row.columns_layout | ||
targetEntityType: paragraph | ||
bundle: oe_content_row | ||
mode: columns_layout | ||
content: | ||
field_oe_content_row_layout: | ||
type: options_select | ||
weight: 0 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_oe_paragraphs: | ||
weight: 1 | ||
settings: | ||
title: Paragraph | ||
title_plural: Paragraphs | ||
edit_mode: closed | ||
closed_mode: summary | ||
autocollapse: none | ||
closed_mode_threshold: 0 | ||
add_mode: dropdown | ||
form_display_mode: default | ||
default_paragraph_type: _none | ||
features: | ||
duplicate: duplicate | ||
collapse_edit_all: collapse_edit_all | ||
add_above: '0' | ||
third_party_settings: { } | ||
type: oe_paragraphs_variants | ||
region: content | ||
hidden: | ||
created: true | ||
field_oe_title: true | ||
status: true | ||
translation: true | ||
uid: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
config/install/core.entity_form_mode.paragraph.columns_layout.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- paragraphs | ||
id: paragraph.columns_layout | ||
label: 'Columns layout' | ||
targetEntityType: paragraph | ||
cache: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
config/install/field.field.paragraph.oe_content_row.field_oe_content_row_layout.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.paragraph.field_oe_content_row_layout | ||
- paragraphs.paragraphs_type.oe_content_row | ||
module: | ||
- options | ||
id: paragraph.oe_content_row.field_oe_content_row_layout | ||
field_name: field_oe_content_row_layout | ||
entity_type: paragraph | ||
bundle: oe_content_row | ||
label: Layout | ||
description: 'Column layout for displaying content items. If none selected, the content will be displayed in one column.' | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: list_string |
20 changes: 20 additions & 0 deletions
20
config/install/field.storage.paragraph.field_oe_content_row_layout.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- options | ||
- paragraphs | ||
id: paragraph.field_oe_content_row_layout | ||
field_name: field_oe_content_row_layout | ||
entity_type: paragraph | ||
type: list_string | ||
settings: | ||
allowed_values: { } | ||
allowed_values_function: '' | ||
module: options | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters