Skip to content

Commit

Permalink
(#4400) NCIDS 2 Column Layout
Browse files Browse the repository at this point in the history
Closes #4400
  • Loading branch information
dev-rana-publicis committed Sep 30, 2024
1 parent b0c424a commit d6acaa2
Show file tree
Hide file tree
Showing 31 changed files with 1,347 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.ncids_mlp_two_column_layout.field_left_content
- field.field.paragraph.ncids_mlp_two_column_layout.field_right_content
- field.field.paragraph.ncids_mlp_two_column_layout.field_two_column_layout_display
- paragraphs.paragraphs_type.ncids_mlp_two_column_layout
module:
- paragraphs
id: paragraph.ncids_mlp_two_column_layout.default
targetEntityType: paragraph
bundle: ncids_mlp_two_column_layout
mode: default
content:
field_left_content:
type: entity_reference_paragraphs
weight: 1
region: content
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: open
add_mode: dropdown
form_display_mode: default
default_paragraph_type: ncids_content_block
third_party_settings: { }
field_right_content:
type: entity_reference_paragraphs
weight: 2
region: content
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: open
add_mode: dropdown
form_display_mode: default
default_paragraph_type: _none
third_party_settings: { }
field_two_column_layout_display:
type: options_select
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.ncids_mlp_two_column_layout.field_left_content
- field.field.paragraph.ncids_mlp_two_column_layout.field_right_content
- field.field.paragraph.ncids_mlp_two_column_layout.field_two_column_layout_display
- paragraphs.paragraphs_type.ncids_mlp_two_column_layout
module:
- entity_reference_revisions
- options
id: paragraph.ncids_mlp_two_column_layout.default
targetEntityType: paragraph
bundle: ncids_mlp_two_column_layout
mode: default
content:
field_left_content:
type: entity_reference_revisions_entity_view
label: above
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 3
region: content
field_right_content:
type: entity_reference_revisions_entity_view
label: above
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 4
region: content
field_two_column_layout_display:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 2
region: content
hidden: { }
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dependencies:
- paragraphs.paragraphs_type.ncids_3_feature_row_opt_head
- paragraphs.paragraphs_type.ncids_content_block
- paragraphs.paragraphs_type.ncids_flag_card_group
- paragraphs.paragraphs_type.ncids_mlp_two_column_layout
- paragraphs.paragraphs_type.ncids_page_title_block
- paragraphs.paragraphs_type.ncids_slim_hero
- paragraphs.paragraphs_type.ncids_summary_box
Expand Down Expand Up @@ -42,6 +43,7 @@ settings:
ncids_slim_hero: ncids_slim_hero
ncids_3_feature_row_opt_head: ncids_3_feature_row_opt_head
ncids_content_block: ncids_content_block
ncids_mlp_two_column_layout: ncids_mlp_two_column_layout
ncids_summary_box: ncids_summary_box
ncids_flag_card_group: ncids_flag_card_group
negate: 0
Expand Down Expand Up @@ -184,6 +186,9 @@ settings:
ncids_link_button_internal:
weight: 92
enabled: false
ncids_mlp_two_column_layout:
weight: 99
enabled: true
ncids_page_title_block:
weight: 49
enabled: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_left_content
- paragraphs.paragraphs_type.cgov_card_raw_html
- paragraphs.paragraphs_type.ncids_content_block
- paragraphs.paragraphs_type.ncids_mlp_two_column_layout
- paragraphs.paragraphs_type.ncids_summary_box
module:
- entity_reference_revisions
id: paragraph.ncids_mlp_two_column_layout.field_left_content
field_name: field_left_content
entity_type: paragraph
bundle: ncids_mlp_two_column_layout
label: 'Left Content'
description: 'Content on the left side of this layout.'
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:paragraph'
handler_settings:
target_bundles:
ncids_content_block: ncids_content_block
ncids_summary_box: ncids_summary_box
cgov_card_raw_html: cgov_card_raw_html
negate: 0
target_bundles_drag_drop:
body_section:
weight: 54
enabled: false
cgov_card_borderless:
weight: 55
enabled: false
cgov_card_external:
weight: 56
enabled: false
cgov_card_internal:
weight: 57
enabled: false
cgov_card_raw_html:
weight: 60
enabled: true
cgov_citation:
weight: 61
enabled: false
cgov_column_one:
weight: 62
enabled: false
cgov_column_two:
weight: 63
enabled: false
cgov_content_block:
weight: 64
enabled: false
cgov_cthp_block_card:
weight: 65
enabled: false
cgov_cthp_feature_card_external:
weight: 66
enabled: false
cgov_cthp_feature_card_internal:
weight: 67
enabled: false
cgov_cthp_guide_card:
weight: 68
enabled: false
cgov_cthp_overview_card:
weight: 69
enabled: false
cgov_cthp_raw_html_card:
weight: 70
enabled: false
cgov_cthp_research_card:
weight: 71
enabled: false
cgov_cthp_video_card:
weight: 72
enabled: false
cgov_dynamic_list:
weight: 73
enabled: false
cgov_external_link:
weight: 74
enabled: false
cgov_guide_row:
weight: 75
enabled: false
cgov_hero_banner:
weight: 76
enabled: false
cgov_internal_link:
weight: 77
enabled: false
cgov_list:
weight: 78
enabled: false
cgov_media_link:
weight: 79
enabled: false
cgov_multimedia_row:
weight: 80
enabled: false
cgov_primary_feature_row:
weight: 81
enabled: false
cgov_secondary_feature_row:
weight: 82
enabled: false
cgov_title_first_feature_card_ro:
weight: 83
enabled: false
cgov_two_item_feature_row:
weight: 84
enabled: false
ncids_2_guide_card_row:
weight: 85
enabled: false
ncids_3_feature_card_row:
weight: 86
enabled: false
ncids_3_feature_row_opt_head:
weight: 87
enabled: false
ncids_3_guide_card_row:
weight: 88
enabled: false
ncids_call_to_action_strip:
weight: 89
enabled: false
ncids_content_block:
weight: 58
enabled: true
ncids_dynamic_list:
weight: 90
enabled: false
ncids_feature_card_external:
weight: 91
enabled: false
ncids_feature_card_internal:
weight: 92
enabled: false
ncids_feature_card_multimedia:
weight: 93
enabled: false
ncids_guide_card:
weight: 94
enabled: false
ncids_guide_card_img_desc:
weight: 95
enabled: false
ncids_hero:
weight: 96
enabled: false
ncids_inline_video:
weight: 97
enabled: false
ncids_link_button_external:
weight: 98
enabled: false
ncids_link_button_internal:
weight: 99
enabled: false
ncids_mlp_two_column_layout:
weight: 100
enabled: false
ncids_page_title_block:
weight: 101
enabled: false
ncids_promo_block_external:
weight: 102
enabled: false
ncids_promo_block_internal:
weight: 103
enabled: false
ncids_slim_hero:
weight: 104
enabled: false
ncids_summary_box:
weight: 59
enabled: true
ncids_two_column_container:
weight: 105
enabled: false
pdq_summary_section:
weight: 106
enabled: false
field_type: entity_reference_revisions
Loading

0 comments on commit d6acaa2

Please sign in to comment.