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

YSP-301: Card collections without images #600

Closed
Closed
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
@@ -0,0 +1,111 @@
uuid: a6481e96-1a61-4bcb-ab69-ee86fa824777
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.text_card
- field.field.node.event.field_category
- field.field.node.event.field_event_cta
- field.field.node.event.field_event_date
- field.field.node.event.field_event_format
- field.field.node.event.field_event_type
- field.field.node.event.field_external_source
- field.field.node.event.field_login_required
- field.field.node.event.field_metatags
- field.field.node.event.field_tags
- field.field.node.event.field_teaser_media
- field.field.node.event.field_teaser_text
- field.field.node.event.field_teaser_title
- field.field.node.event.layout_builder__layout
- node.type.event
module:
- layout_builder
- layout_builder_restrictions
- link
- smart_date
- text
- user
third_party_settings:
layout_builder:
enabled: false
allow_custom: false
layout_builder_restrictions:
allowed_block_categories: { }
entity_view_mode_restriction:
allowed_layouts: { }
denylisted_blocks: { }
allowlisted_blocks: { }
restricted_categories:
- 'Chaos Tools'
- 'Content fields'
- Forms
- Help
- 'Lists (Views)'
- Menus
- System
- Webform
- 'YaleSites Core'
- 'YaleSites alert'
- core
entity_view_mode_restriction_by_region:
allowed_layouts: { }
id: node.event.text_card
targetEntityType: node
bundle: event
mode: text_card
content:
field_event_date:
type: smartdate_plain
label: hidden
settings:
timezone_override: ''
separator: '-'
third_party_settings: { }
weight: 2
region: content
field_event_type:
type: entity_reference_label
label: hidden
settings:
link: false
third_party_settings: { }
weight: 3
region: content
field_external_source:
type: link_separate
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: 4
region: content
field_teaser_text:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 1
region: content
field_teaser_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
field_category: true
field_event_cta: true
field_event_format: true
field_login_required: true
field_metatags: true
field_tags: true
field_teaser_media: true
layout_builder__layout: true
links: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
uuid: a1fc9c7d-68c8-455b-9438-2e7a316ecedf
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.text_card
- field.field.node.page.field_external_source
- field.field.node.page.field_login_required
- field.field.node.page.field_metatags
- field.field.node.page.field_tags
- field.field.node.page.field_teaser_media
- field.field.node.page.field_teaser_text
- field.field.node.page.field_teaser_title
- field.field.node.page.layout_builder__layout
- node.type.page
module:
- layout_builder
- layout_builder_restrictions
- link
- text
- user
third_party_settings:
layout_builder:
enabled: false
allow_custom: false
layout_builder_restrictions:
allowed_block_categories: { }
entity_view_mode_restriction:
allowed_layouts:
- layout_onecol
- ys_layout_two_column
denylisted_blocks: { }
allowlisted_blocks: { }
restricted_categories: { }
entity_view_mode_restriction_by_region:
allowed_layouts:
- layout_onecol
- ys_layout_two_column
allowlisted_blocks:
ys_layout_banner:
all_regions:
'Inline blocks':
- 'inline_block:cta_banner'
- 'inline_block:grand_hero'
ys_layout_page_meta:
all_regions:
'YaleSites Layouts':
- page_meta_block
ys_layout_two_column:
content:
'Custom block types':
- accordion
- button_link
- divider
- image
- pull_quote
- tabs
- text
- video
'Inline blocks':
- 'inline_block:accordion'
- 'inline_block:button_link'
- 'inline_block:divider'
- 'inline_block:image'
- 'inline_block:pull_quote'
- 'inline_block:tabs'
- 'inline_block:text'
- 'inline_block:video'
sidebar:
'Custom block types':
- text
'Inline blocks':
- 'inline_block:text'
restricted_categories:
ys_layout_two_column:
content:
- 'Chaos Tools'
- 'Content fields'
- Devel
- Forms
- Help
- 'Lists (Views)'
- Menus
- System
- Webform
- 'YaleSites Core'
- 'YaleSites Layouts'
- 'YaleSites alert'
- core
sidebar:
- 'Chaos Tools'
- 'Content fields'
- Devel
- Forms
- Help
- 'Lists (Views)'
- Menus
- System
- Webform
- 'YaleSites Core'
- 'YaleSites Layouts'
- 'YaleSites alert'
- core
layout_onecol:
all_regions:
- 'Chaos Tools'
- 'Content fields'
- Devel
- Forms
- Help
- 'Lists (Views)'
- Menus
- System
- Webform
- 'YaleSites Core'
- 'YaleSites Layouts'
- 'YaleSites alert'
- core
ys_layout_banner:
all_regions:
- 'Chaos Tools'
- 'Content fields'
- 'Custom block types'
- Devel
- Forms
- Help
- 'Lists (Views)'
- Menus
- System
- Webform
- 'YaleSites Core'
- 'YaleSites Layouts'
- 'YaleSites alert'
- core
ys_layout_page_meta:
all_regions:
- 'Chaos Tools'
- 'Content fields'
- 'Custom block types'
- Devel
- Forms
- Help
- 'Inline blocks'
- 'Lists (Views)'
- Menus
- System
- Webform
- 'YaleSites Core'
- 'YaleSites alert'
- core
id: node.page.text_card
targetEntityType: node
bundle: page
mode: text_card
content:
field_external_source:
type: link_separate
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: 2
region: content
field_teaser_text:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 1
region: content
field_teaser_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
field_login_required: true
field_metatags: true
field_tags: true
field_teaser_media: true
layout_builder__layout: true
links: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
uuid: eb41d84b-3d3a-4239-8d7b-97761e9f6777
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.text_card
- field.field.node.post.field_author
- field.field.node.post.field_category
- field.field.node.post.field_external_source
- field.field.node.post.field_login_required
- field.field.node.post.field_metatags
- field.field.node.post.field_publish_date
- field.field.node.post.field_tags
- field.field.node.post.field_teaser_media
- field.field.node.post.field_teaser_text
- field.field.node.post.field_teaser_title
- field.field.node.post.layout_builder__layout
- node.type.post
module:
- layout_builder
- layout_builder_restrictions
- link
- text
- user
third_party_settings:
layout_builder:
enabled: false
allow_custom: false
layout_builder_restrictions:
allowed_block_categories: { }
entity_view_mode_restriction:
allowed_layouts: { }
denylisted_blocks: { }
allowlisted_blocks: { }
restricted_categories:
- 'Chaos Tools'
- 'Content fields'
- Forms
- Help
- 'Lists (Views)'
- Menus
- System
- Webform
- 'YaleSites Core'
- 'YaleSites alert'
- core
entity_view_mode_restriction_by_region:
allowed_layouts: { }
id: node.post.text_card
targetEntityType: node
bundle: post
mode: text_card
content:
field_external_source:
type: link_separate
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: 2
region: content
field_teaser_text:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 1
region: content
field_teaser_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
field_author: true
field_category: true
field_login_required: true
field_metatags: true
field_publish_date: true
field_tags: true
field_teaser_media: true
layout_builder__layout: true
links: true
search_api_excerpt: true
Loading