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:
benjamin melançon 2019-10-01 12:17:04 -04:00
parent 160f9c3f22
commit 9f762f6df3

View file

@ -8,6 +8,7 @@ dependencies:
- field.field.node.article.comment - field.field.node.article.comment
- field.field.node.article.field_article_type - field.field.node.article.field_article_type
- field.field.node.article.field_authors - field.field.node.article.field_authors
- field.field.node.article.field_biography
- field.field.node.article.field_body_paragraph - field.field.node.article.field_body_paragraph
- field.field.node.article.field_image - field.field.node.article.field_image
- field.field.node.article.field_meta_tags - field.field.node.article.field_meta_tags
@ -20,6 +21,7 @@ dependencies:
- node.type.article - node.type.article
- responsive_image.styles.narrow - responsive_image.styles.narrow
module: module:
- datetime
- ds - ds
- field_group - field_group
- responsive_image - responsive_image
@ -44,18 +46,13 @@ third_party_settings:
ds_content: ds_content:
- field_image - field_image
- group_card_content - group_card_content
- node_post_date - field_publication_date
- node_title - node_title
- field_authors - field_authors
fields: fields:
node_post_date:
plugin_id: node_post_date
weight: 3
label: hidden
formatter: ds_post_date_month_day_year
node_title: node_title:
plugin_id: node_title plugin_id: node_title
weight: 4 weight: 5
label: hidden label: hidden
formatter: default formatter: default
settings: settings:
@ -65,7 +62,7 @@ third_party_settings:
field_group: field_group:
group_card_content: group_card_content:
children: children:
- node_post_date - field_publication_date
- node_title - node_title
- field_authors - field_authors
parent_name: '' parent_name: ''
@ -91,7 +88,7 @@ mode: card
content: content:
field_authors: field_authors:
type: entity_reference_label type: entity_reference_label
weight: 5 weight: 6
region: ds_content region: ds_content
label: hidden label: hidden
settings: settings:
@ -108,22 +105,27 @@ content:
third_party_settings: third_party_settings:
ds: ds:
ds_limit: '1' ds_limit: '1'
geo_citation: field_publication_date:
weight: 90 type: datetime_default
settings: { } weight: 4
region: ds_content
label: hidden
settings:
timezone_override: ''
format_type: month_day_year
third_party_settings: { } third_party_settings: { }
region: content
hidden: hidden:
body: true body: true
comment: true comment: true
field_article_type: true field_article_type: true
field_biography: true
field_body_paragraph: true field_body_paragraph: true
field_meta_tags: true field_meta_tags: true
field_publication_date: true
field_subtitle: true field_subtitle: true
field_summary: true field_summary: true
field_tags: true field_tags: true
field_topics: true field_topics: true
field_upload: true field_upload: true
geo_citation: true
links: true links: true
search_api_excerpt: true search_api_excerpt: true