Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ticket/4464 imageless cards #4470

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ dependencies:
- 'drupal:file'
- 'drupal:image'
- 'drupal:language'
- 'drupal:layout_builder'
- 'drupal:link'
- 'drupal:media'
- 'drupal:node'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.ncids_imageless_card_group.field_container_heading
- field.field.paragraph.ncids_imageless_card_group.field_heading_visibility
- field.field.paragraph.ncids_imageless_card_group.field_imgless_crd_grp_display
- field.field.paragraph.ncids_imageless_card_group.field_row_cards_unlimited
- paragraphs.paragraphs_type.ncids_imageless_card_group
module:
- paragraphs
id: paragraph.ncids_imageless_card_group.default
targetEntityType: paragraph
bundle: ncids_imageless_card_group
mode: default
content:
field_container_heading:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_heading_visibility:
type: options_select
weight: 1
region: content
settings: { }
third_party_settings: { }
field_imgless_crd_grp_display:
type: options_select
weight: 2
region: content
settings: { }
third_party_settings: { }
field_row_cards_unlimited:
type: paragraphs
weight: 2
region: content
settings:
title: 'Imageless Card'
title_plural: 'Imageless Cards'
edit_mode: closed
closed_mode: summary
autocollapse: none
closed_mode_threshold: 0
add_mode: dropdown
form_display_mode: default
default_paragraph_type: ncids_imageless_card_internal
features:
add_above: '0'
collapse_edit_all: collapse_edit_all
convert: '0'
duplicate: duplicate
third_party_settings: { }
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.ncids_imageless_card_group.field_container_heading
- field.field.paragraph.ncids_imageless_card_group.field_heading_visibility
- field.field.paragraph.ncids_imageless_card_group.field_imgless_crd_grp_display
- field.field.paragraph.ncids_imageless_card_group.field_row_cards_unlimited
- paragraphs.paragraphs_type.ncids_imageless_card_group
module:
- entity_reference_revisions
- options
id: paragraph.ncids_imageless_card_group.default
targetEntityType: paragraph
bundle: ncids_imageless_card_group
mode: default
content:
field_container_heading:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 1
region: content
field_heading_visibility:
type: list_key
label: hidden
settings: { }
third_party_settings: { }
weight: 0
region: content
field_imgless_crd_grp_display:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 2
region: content
field_row_cards_unlimited:
type: entity_reference_revisions_entity_view
label: above
settings:
view_mode: ncids_group_imageless_card
link: ''
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_imageless_card_group
- paragraphs.paragraphs_type.ncids_mlp_two_column_layout
- paragraphs.paragraphs_type.ncids_page_title_block
- paragraphs.paragraphs_type.ncids_slim_hero
Expand Down Expand Up @@ -44,9 +45,10 @@ 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_flag_card_group: ncids_flag_card_group
ncids_mlp_two_column_layout: ncids_mlp_two_column_layout
ncids_summary_box: ncids_summary_box
ncids_flag_card_group: ncids_flag_card_group
ncids_imageless_card_group: ncids_imageless_card_group
ncids_wide_guide_card: ncids_wide_guide_card
negate: 0
target_bundles_drag_drop:
Expand Down Expand Up @@ -179,6 +181,18 @@ settings:
ncids_hero:
weight: 89
enabled: false
ncids_imageless_card_external:
weight: 103
enabled: false
ncids_imageless_card_group:
weight: 104
enabled: true
ncids_imageless_card_internal:
weight: 105
enabled: false
ncids_imageless_card_multimedia:
weight: 106
enabled: false
ncids_inline_video:
weight: 90
enabled: false
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_container_heading
- paragraphs.paragraphs_type.ncids_imageless_card_group
id: paragraph.ncids_imageless_card_group.field_container_heading
field_name: field_container_heading
entity_type: paragraph
bundle: ncids_imageless_card_group
label: Heading
description: 'Displays above the group of cards. Used to concisely describe the featured content.'
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_heading_visibility
- paragraphs.paragraphs_type.ncids_imageless_card_group
module:
- options
id: paragraph.ncids_imageless_card_group.field_heading_visibility
field_name: field_heading_visibility
entity_type: paragraph
bundle: ncids_imageless_card_group
label: 'Heading Visibility'
description: 'Display heading on page, or use only for screen readers.'
required: true
translatable: false
default_value:
-
value: visible
default_value_callback: ''
settings: { }
field_type: list_string
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.field_imgless_crd_grp_display
- paragraphs.paragraphs_type.ncids_imageless_card_group
module:
- options
id: paragraph.ncids_imageless_card_group.field_imgless_crd_grp_display
field_name: field_imgless_crd_grp_display
entity_type: paragraph
bundle: ncids_imageless_card_group
label: 'Card Layout Display'
description: 'Sets the number of cards to display in a row, in either a 1, 2, or 3-card layout per row.'
required: true
translatable: false
default_value:
-
value: cgdp-imageless-card-group--three-card
default_value_callback: ''
settings: { }
field_type: list_string
Loading
Loading