Update article card to use publication date
Should be safe now that all were migrated with post date as the fallback publication date. THanks @Gnuget!
This commit is contained in:
parent
160f9c3f22
commit
9f762f6df3
1 changed files with 16 additions and 14 deletions
|
@ -8,6 +8,7 @@ dependencies:
|
|||
- field.field.node.article.comment
|
||||
- field.field.node.article.field_article_type
|
||||
- field.field.node.article.field_authors
|
||||
- field.field.node.article.field_biography
|
||||
- field.field.node.article.field_body_paragraph
|
||||
- field.field.node.article.field_image
|
||||
- field.field.node.article.field_meta_tags
|
||||
|
@ -20,6 +21,7 @@ dependencies:
|
|||
- node.type.article
|
||||
- responsive_image.styles.narrow
|
||||
module:
|
||||
- datetime
|
||||
- ds
|
||||
- field_group
|
||||
- responsive_image
|
||||
|
@ -44,18 +46,13 @@ third_party_settings:
|
|||
ds_content:
|
||||
- field_image
|
||||
- group_card_content
|
||||
- node_post_date
|
||||
- field_publication_date
|
||||
- node_title
|
||||
- field_authors
|
||||
fields:
|
||||
node_post_date:
|
||||
plugin_id: node_post_date
|
||||
weight: 3
|
||||
label: hidden
|
||||
formatter: ds_post_date_month_day_year
|
||||
node_title:
|
||||
plugin_id: node_title
|
||||
weight: 4
|
||||
weight: 5
|
||||
label: hidden
|
||||
formatter: default
|
||||
settings:
|
||||
|
@ -65,7 +62,7 @@ third_party_settings:
|
|||
field_group:
|
||||
group_card_content:
|
||||
children:
|
||||
- node_post_date
|
||||
- field_publication_date
|
||||
- node_title
|
||||
- field_authors
|
||||
parent_name: ''
|
||||
|
@ -91,7 +88,7 @@ mode: card
|
|||
content:
|
||||
field_authors:
|
||||
type: entity_reference_label
|
||||
weight: 5
|
||||
weight: 6
|
||||
region: ds_content
|
||||
label: hidden
|
||||
settings:
|
||||
|
@ -108,22 +105,27 @@ content:
|
|||
third_party_settings:
|
||||
ds:
|
||||
ds_limit: '1'
|
||||
geo_citation:
|
||||
weight: 90
|
||||
settings: { }
|
||||
field_publication_date:
|
||||
type: datetime_default
|
||||
weight: 4
|
||||
region: ds_content
|
||||
label: hidden
|
||||
settings:
|
||||
timezone_override: ''
|
||||
format_type: month_day_year
|
||||
third_party_settings: { }
|
||||
region: content
|
||||
hidden:
|
||||
body: true
|
||||
comment: true
|
||||
field_article_type: true
|
||||
field_biography: true
|
||||
field_body_paragraph: true
|
||||
field_meta_tags: true
|
||||
field_publication_date: true
|
||||
field_subtitle: true
|
||||
field_summary: true
|
||||
field_tags: true
|
||||
field_topics: true
|
||||
field_upload: true
|
||||
geo_citation: true
|
||||
links: true
|
||||
search_api_excerpt: true
|
||||
|
|
Loading…
Add table
Reference in a new issue