Skip to content

Commit

Permalink
Added FAQ Accordion List paragraph type based on CAW (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish authored Nov 1, 2024
1 parent ca9e29e commit e1d68a3
Show file tree
Hide file tree
Showing 33 changed files with 9,963 additions and 6,974 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ deployment_identifier
bin/*
tmp
reports
.yarn/

# OS X
.DS_Store
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
uuid: 4e43efbc-fa41-452d-9e8f-1033f949b6bc
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.stanford_faq.su_faq_description
- field.field.paragraph.stanford_faq.su_faq_headline
- field.field.paragraph.stanford_faq.su_faq_questions
- paragraphs.paragraphs_type.stanford_faq
module:
- paragraphs
- text
id: paragraph.stanford_faq.default
targetEntityType: paragraph
bundle: stanford_faq
mode: default
content:
status:
type: boolean_checkbox
weight: 3
region: content
settings:
display_label: true
third_party_settings: { }
su_faq_description:
type: text_textarea
weight: 1
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
su_faq_headline:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
su_faq_questions:
type: paragraphs
weight: 2
region: content
settings:
title: Questions/Answers
title_plural: Questions/Answers
edit_mode: closed
closed_mode: summary
autocollapse: all
closed_mode_threshold: 0
add_mode: dropdown
form_display_mode: default
default_paragraph_type: stanford_accordion
features:
add_above: '0'
collapse_edit_all: collapse_edit_all
duplicate: duplicate
third_party_settings: { }
hidden:
created: true
publish_on: true
unpublish_on: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
uuid: 2895bffa-14b5-41cd-bb3a-b0020fb04037
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.stanford_faq.su_faq_description
- field.field.paragraph.stanford_faq.su_faq_headline
- field.field.paragraph.stanford_faq.su_faq_questions
- paragraphs.paragraphs_type.stanford_faq
module:
- entity_reference_revisions
- stanford_fields
- text
id: paragraph.stanford_faq.default
targetEntityType: paragraph
bundle: stanford_faq
mode: default
content:
su_faq_description:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 1
region: content
su_faq_headline:
type: entity_title_heading
label: hidden
settings:
tag: h2
linked: false
third_party_settings: { }
weight: 0
region: content
su_faq_questions:
type: entity_reference_revisions_entity_view
label: hidden
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 2
region: content
hidden:
search_api_excerpt: true
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- paragraphs.paragraphs_type.stanford_banner
- paragraphs.paragraphs_type.stanford_card
- paragraphs.paragraphs_type.stanford_entity
- paragraphs.paragraphs_type.stanford_faq
- paragraphs.paragraphs_type.stanford_gallery
- paragraphs.paragraphs_type.stanford_layout
- paragraphs.paragraphs_type.stanford_lists
Expand Down Expand Up @@ -39,6 +40,7 @@ settings:
stanford_gallery: stanford_gallery
stanford_lists: stanford_lists
stanford_layout: stanford_layout
stanford_faq: stanford_faq
negate: 0
target_bundles_drag_drop:
stanford_accordion:
Expand All @@ -53,6 +55,9 @@ settings:
stanford_entity:
weight: 13
enabled: true
stanford_faq:
weight: 28
enabled: true
stanford_gallery:
weight: 14
enabled: true
Expand All @@ -65,6 +70,9 @@ settings:
stanford_media_caption:
weight: 8
enabled: true
stanford_page_title_banner:
weight: 23
enabled: false
stanford_person_cta:
weight: 11
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- paragraphs.paragraphs_type.stanford_banner
- paragraphs.paragraphs_type.stanford_card
- paragraphs.paragraphs_type.stanford_entity
- paragraphs.paragraphs_type.stanford_faq
- paragraphs.paragraphs_type.stanford_gallery
- paragraphs.paragraphs_type.stanford_layout
- paragraphs.paragraphs_type.stanford_lists
Expand Down Expand Up @@ -39,6 +40,7 @@ settings:
stanford_gallery: stanford_gallery
stanford_lists: stanford_lists
stanford_layout: stanford_layout
stanford_faq: stanford_faq
negate: 0
target_bundles_drag_drop:
stanford_accordion:
Expand All @@ -53,6 +55,9 @@ settings:
stanford_entity:
weight: 13
enabled: true
stanford_faq:
weight: 28
enabled: true
stanford_gallery:
weight: 14
enabled: true
Expand All @@ -65,6 +70,9 @@ settings:
stanford_media_caption:
weight: 8
enabled: true
stanford_page_title_banner:
weight: 23
enabled: false
stanford_person_cta:
weight: 11
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- paragraphs.paragraphs_type.stanford_banner
- paragraphs.paragraphs_type.stanford_card
- paragraphs.paragraphs_type.stanford_entity
- paragraphs.paragraphs_type.stanford_faq
- paragraphs.paragraphs_type.stanford_gallery
- paragraphs.paragraphs_type.stanford_layout
- paragraphs.paragraphs_type.stanford_lists
Expand Down Expand Up @@ -39,6 +40,7 @@ settings:
stanford_gallery: stanford_gallery
stanford_lists: stanford_lists
stanford_layout: stanford_layout
stanford_faq: stanford_faq
negate: 0
target_bundles_drag_drop:
stanford_accordion:
Expand All @@ -53,6 +55,9 @@ settings:
stanford_entity:
weight: 13
enabled: true
stanford_faq:
weight: 28
enabled: true
stanford_gallery:
weight: 14
enabled: true
Expand All @@ -65,6 +70,9 @@ settings:
stanford_media_caption:
weight: 9
enabled: true
stanford_page_title_banner:
weight: 23
enabled: false
stanford_person_cta:
weight: 11
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- paragraphs.paragraphs_type.stanford_banner
- paragraphs.paragraphs_type.stanford_card
- paragraphs.paragraphs_type.stanford_entity
- paragraphs.paragraphs_type.stanford_faq
- paragraphs.paragraphs_type.stanford_gallery
- paragraphs.paragraphs_type.stanford_layout
- paragraphs.paragraphs_type.stanford_lists
Expand Down Expand Up @@ -39,6 +40,7 @@ settings:
stanford_media_caption: stanford_media_caption
stanford_spacer: stanford_spacer
stanford_wysiwyg: stanford_wysiwyg
stanford_faq: stanford_faq
negate: 0
target_bundles_drag_drop:
stanford_accordion:
Expand All @@ -53,6 +55,9 @@ settings:
stanford_entity:
weight: 17
enabled: true
stanford_faq:
weight: 28
enabled: true
stanford_gallery:
weight: 18
enabled: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- paragraphs.paragraphs_type.stanford_banner
- paragraphs.paragraphs_type.stanford_card
- paragraphs.paragraphs_type.stanford_entity
- paragraphs.paragraphs_type.stanford_faq
- paragraphs.paragraphs_type.stanford_gallery
- paragraphs.paragraphs_type.stanford_layout
- paragraphs.paragraphs_type.stanford_lists
Expand Down Expand Up @@ -39,6 +40,7 @@ settings:
stanford_layout: stanford_layout
stanford_lists: stanford_lists
stanford_spacer: stanford_spacer
stanford_faq: stanford_faq
negate: 0
target_bundles_drag_drop:
stanford_accordion:
Expand All @@ -53,6 +55,9 @@ settings:
stanford_entity:
weight: -20
enabled: true
stanford_faq:
weight: 28
enabled: true
stanford_gallery:
weight: -19
enabled: true
Expand All @@ -65,6 +70,9 @@ settings:
stanford_media_caption:
weight: -21
enabled: true
stanford_page_title_banner:
weight: 23
enabled: false
stanford_person_cta:
weight: -16
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- paragraphs.paragraphs_type.stanford_banner
- paragraphs.paragraphs_type.stanford_card
- paragraphs.paragraphs_type.stanford_entity
- paragraphs.paragraphs_type.stanford_faq
- paragraphs.paragraphs_type.stanford_gallery
- paragraphs.paragraphs_type.stanford_layout
- paragraphs.paragraphs_type.stanford_lists
Expand Down Expand Up @@ -39,6 +40,7 @@ settings:
stanford_gallery: stanford_gallery
stanford_lists: stanford_lists
stanford_layout: stanford_layout
stanford_faq: stanford_faq
negate: 0
target_bundles_drag_drop:
stanford_accordion:
Expand All @@ -53,6 +55,9 @@ settings:
stanford_entity:
weight: 13
enabled: true
stanford_faq:
weight: 28
enabled: true
stanford_gallery:
weight: 14
enabled: true
Expand All @@ -65,6 +70,9 @@ settings:
stanford_media_caption:
weight: 9
enabled: true
stanford_page_title_banner:
weight: 23
enabled: false
stanford_person_cta:
weight: 11
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- paragraphs.paragraphs_type.stanford_banner
- paragraphs.paragraphs_type.stanford_card
- paragraphs.paragraphs_type.stanford_entity
- paragraphs.paragraphs_type.stanford_faq
- paragraphs.paragraphs_type.stanford_gallery
- paragraphs.paragraphs_type.stanford_layout
- paragraphs.paragraphs_type.stanford_lists
Expand Down Expand Up @@ -39,6 +40,7 @@ settings:
stanford_media_caption: stanford_media_caption
stanford_spacer: stanford_spacer
stanford_wysiwyg: stanford_wysiwyg
stanford_faq: stanford_faq
negate: 0
target_bundles_drag_drop:
stanford_accordion:
Expand All @@ -53,6 +55,9 @@ settings:
stanford_entity:
weight: 16
enabled: true
stanford_faq:
weight: 28
enabled: true
stanford_gallery:
weight: 17
enabled: true
Expand All @@ -65,6 +70,9 @@ settings:
stanford_media_caption:
weight: 20
enabled: true
stanford_page_title_banner:
weight: 23
enabled: false
stanford_person_cta:
weight: 21
enabled: false
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
uuid: 9066b0ab-e64a-4a0d-8b2d-07de1fc155db
langcode: en
status: true
dependencies:
config:
- field.storage.paragraph.su_faq_description
- paragraphs.paragraphs_type.stanford_faq
module:
- allowed_formats
- text
third_party_settings:
allowed_formats:
stanford_limited_html: stanford_limited_html
stanford_html: '0'
stanford_minimal_html: '0'
plain_text: '0'
id: paragraph.stanford_faq.su_faq_description
field_name: su_faq_description
entity_type: paragraph
bundle: stanford_faq
label: Description
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
allowed_formats: { }
field_type: text_long
Loading

0 comments on commit e1d68a3

Please sign in to comment.