-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add top banner to be the page title on basic page
- Loading branch information
Showing
12 changed files
with
391 additions
and
4 deletions.
There are no files selected for viewing
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
62 changes: 62 additions & 0 deletions
62
config/sync/core.entity_form_display.paragraph.stanford_top_banner.default.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,62 @@ | ||
uuid: 2a03161c-0527-4c91-adda-bdc596f22781 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.paragraph.stanford_top_banner.su_banner_body | ||
- field.field.paragraph.stanford_top_banner.su_banner_button | ||
- field.field.paragraph.stanford_top_banner.su_banner_header | ||
- field.field.paragraph.stanford_top_banner.su_banner_image | ||
- field.field.paragraph.stanford_top_banner.su_banner_sup_header | ||
- paragraphs.paragraphs_type.stanford_top_banner | ||
module: | ||
- link | ||
- media_library | ||
- text | ||
id: paragraph.stanford_top_banner.default | ||
targetEntityType: paragraph | ||
bundle: stanford_top_banner | ||
mode: default | ||
content: | ||
su_banner_body: | ||
type: text_textarea | ||
weight: 3 | ||
region: content | ||
settings: | ||
rows: 5 | ||
placeholder: '' | ||
third_party_settings: { } | ||
su_banner_button: | ||
type: link_default | ||
weight: 4 | ||
region: content | ||
settings: | ||
placeholder_url: '' | ||
placeholder_title: '' | ||
third_party_settings: { } | ||
su_banner_header: | ||
type: string_textfield | ||
weight: 2 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
su_banner_image: | ||
type: media_library_widget | ||
weight: 0 | ||
region: content | ||
settings: | ||
media_types: { } | ||
third_party_settings: { } | ||
su_banner_sup_header: | ||
type: string_textfield | ||
weight: 1 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
hidden: | ||
created: true | ||
status: true |
105 changes: 105 additions & 0 deletions
105
config/sync/core.entity_view_display.paragraph.stanford_top_banner.default.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,105 @@ | ||
uuid: 5c8b4160-65a4-4138-8815-7830bc9fc0a1 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.paragraph.stanford_top_banner.su_banner_body | ||
- field.field.paragraph.stanford_top_banner.su_banner_button | ||
- field.field.paragraph.stanford_top_banner.su_banner_header | ||
- field.field.paragraph.stanford_top_banner.su_banner_image | ||
- field.field.paragraph.stanford_top_banner.su_banner_sup_header | ||
- paragraphs.paragraphs_type.stanford_top_banner | ||
module: | ||
- ds | ||
- empty_fields | ||
- field_formatter_class | ||
- link | ||
- stanford_fields | ||
- stanford_media | ||
- text | ||
third_party_settings: | ||
ds: | ||
layout: | ||
id: pattern_hero | ||
library: null | ||
disable_css: false | ||
entity_classes: all_classes | ||
settings: | ||
pattern: | ||
field_templates: default | ||
variant: default | ||
regions: | ||
hero_image: | ||
- su_banner_image | ||
hero_super_headline: | ||
- su_banner_sup_header | ||
hero_body: | ||
- su_banner_header | ||
- su_banner_body | ||
- su_banner_button | ||
id: paragraph.stanford_top_banner.default | ||
targetEntityType: paragraph | ||
bundle: stanford_top_banner | ||
mode: default | ||
content: | ||
su_banner_body: | ||
type: text_default | ||
label: hidden | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 3 | ||
region: hero_body | ||
su_banner_button: | ||
type: link | ||
label: hidden | ||
settings: | ||
trim_length: null | ||
url_only: false | ||
url_plain: false | ||
rel: '0' | ||
target: '0' | ||
third_party_settings: | ||
empty_fields: | ||
handler: '' | ||
field_formatter_class: | ||
class: '' | ||
weight: 4 | ||
region: hero_body | ||
su_banner_header: | ||
type: entity_title_heading | ||
label: hidden | ||
settings: | ||
tag: h1 | ||
linked: false | ||
third_party_settings: | ||
empty_fields: | ||
handler: '' | ||
field_formatter_class: | ||
class: '' | ||
weight: 2 | ||
region: hero_body | ||
su_banner_image: | ||
type: media_responsive_image_formatter | ||
label: hidden | ||
settings: | ||
view_mode: default | ||
link: false | ||
image_style: stanford_hero_block_wide | ||
remove_alt: 0 | ||
third_party_settings: | ||
empty_fields: | ||
handler: '' | ||
field_formatter_class: | ||
class: '' | ||
weight: 0 | ||
region: hero_image | ||
su_banner_sup_header: | ||
type: string | ||
label: hidden | ||
settings: | ||
link_to_entity: false | ||
third_party_settings: { } | ||
weight: 1 | ||
region: hero_super_headline | ||
hidden: | ||
search_api_excerpt: true |
39 changes: 39 additions & 0 deletions
39
config/sync/core.entity_view_display.paragraph.stanford_top_banner.variant_1.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,39 @@ | ||
uuid: 7e6155a8-4062-4894-9e8e-f673b4eb7e01 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.paragraph.variant_1 | ||
- field.field.paragraph.stanford_top_banner.su_banner_body | ||
- field.field.paragraph.stanford_top_banner.su_banner_button | ||
- field.field.paragraph.stanford_top_banner.su_banner_header | ||
- field.field.paragraph.stanford_top_banner.su_banner_image | ||
- field.field.paragraph.stanford_top_banner.su_banner_sup_header | ||
- paragraphs.paragraphs_type.stanford_top_banner | ||
module: | ||
- field_formatter_class | ||
- stanford_media | ||
id: paragraph.stanford_top_banner.variant_1 | ||
targetEntityType: paragraph | ||
bundle: stanford_top_banner | ||
mode: variant_1 | ||
content: | ||
su_banner_image: | ||
type: media_responsive_image_formatter | ||
label: hidden | ||
settings: | ||
view_mode: default | ||
link: false | ||
image_style: card_2_1 | ||
remove_alt: false | ||
third_party_settings: | ||
field_formatter_class: | ||
class: '' | ||
weight: 0 | ||
region: content | ||
hidden: | ||
search_api_excerpt: true | ||
su_banner_body: true | ||
su_banner_button: true | ||
su_banner_header: true | ||
su_banner_sup_header: 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
24 changes: 24 additions & 0 deletions
24
config/sync/field.field.paragraph.stanford_top_banner.su_banner_body.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,24 @@ | ||
uuid: c6db971b-1811-453c-a85d-dfd57c6cc677 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.paragraph.su_banner_body | ||
- filter.format.stanford_minimal_html | ||
- paragraphs.paragraphs_type.stanford_top_banner | ||
module: | ||
- text | ||
id: paragraph.stanford_top_banner.su_banner_body | ||
field_name: su_banner_body | ||
entity_type: paragraph | ||
bundle: stanford_top_banner | ||
label: Body | ||
description: 'The main content area for the banner. Shows up in an opaque box over the image. ' | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: | ||
allowed_formats: | ||
- stanford_minimal_html | ||
field_type: text_long |
23 changes: 23 additions & 0 deletions
23
config/sync/field.field.paragraph.stanford_top_banner.su_banner_button.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,23 @@ | ||
uuid: c004e7d3-2fa2-4cf0-8495-4d24ef1b82c5 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.paragraph.su_banner_button | ||
- paragraphs.paragraphs_type.stanford_top_banner | ||
module: | ||
- link | ||
id: paragraph.stanford_top_banner.su_banner_button | ||
field_name: su_banner_button | ||
entity_type: paragraph | ||
bundle: stanford_top_banner | ||
label: Button | ||
description: 'A call to action link that shows up below the main body content.' | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: | ||
title: 2 | ||
link_type: 17 | ||
field_type: link |
19 changes: 19 additions & 0 deletions
19
config/sync/field.field.paragraph.stanford_top_banner.su_banner_header.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,19 @@ | ||
uuid: 1a49b356-3910-464d-9b75-b249de260583 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.paragraph.su_banner_header | ||
- paragraphs.paragraphs_type.stanford_top_banner | ||
id: paragraph.stanford_top_banner.su_banner_header | ||
field_name: su_banner_header | ||
entity_type: paragraph | ||
bundle: stanford_top_banner | ||
label: Headline | ||
description: 'The main headline. This shows up large.' | ||
required: true | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string |
29 changes: 29 additions & 0 deletions
29
config/sync/field.field.paragraph.stanford_top_banner.su_banner_image.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,29 @@ | ||
uuid: 1e8bac2f-7e20-41e4-8c89-4f1ba211691b | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.paragraph.su_banner_image | ||
- media.type.image | ||
- paragraphs.paragraphs_type.stanford_top_banner | ||
id: paragraph.stanford_top_banner.su_banner_image | ||
field_name: su_banner_image | ||
entity_type: paragraph | ||
bundle: stanford_top_banner | ||
label: Image | ||
description: 'The banner background image. Please use hi-resolution images.' | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: | ||
handler: 'default:media' | ||
handler_settings: | ||
target_bundles: | ||
image: image | ||
sort: | ||
field: _none | ||
direction: ASC | ||
auto_create: false | ||
auto_create_bundle: '' | ||
field_type: entity_reference |
19 changes: 19 additions & 0 deletions
19
config/sync/field.field.paragraph.stanford_top_banner.su_banner_sup_header.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,19 @@ | ||
uuid: b1e1f65b-d41f-46f4-bc8f-c259214e020f | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.paragraph.su_banner_sup_header | ||
- paragraphs.paragraphs_type.stanford_top_banner | ||
id: paragraph.stanford_top_banner.su_banner_sup_header | ||
field_name: su_banner_sup_header | ||
entity_type: paragraph | ||
bundle: stanford_top_banner | ||
label: Superhead | ||
description: 'Smaller heading above the main headline' | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string |
Oops, something went wrong.