Add publication date to Collections
This commit is contained in:
parent
cb325c229a
commit
3d172cc0b0
3 changed files with 50 additions and 7 deletions
|
@ -11,6 +11,7 @@ dependencies:
|
||||||
- field.field.node.collection.field_collection_type
|
- field.field.node.collection.field_collection_type
|
||||||
- field.field.node.collection.field_image
|
- field.field.node.collection.field_image
|
||||||
- field.field.node.collection.field_meta_tags
|
- field.field.node.collection.field_meta_tags
|
||||||
|
- field.field.node.collection.field_publication_date
|
||||||
- field.field.node.collection.field_summary
|
- field.field.node.collection.field_summary
|
||||||
- field.field.node.collection.field_tags
|
- field.field.node.collection.field_tags
|
||||||
- field.field.node.collection.field_topics
|
- field.field.node.collection.field_topics
|
||||||
|
@ -19,6 +20,7 @@ dependencies:
|
||||||
module:
|
module:
|
||||||
- comment
|
- comment
|
||||||
- cshs
|
- cshs
|
||||||
|
- datetime
|
||||||
- image
|
- image
|
||||||
- metatag
|
- metatag
|
||||||
- paragraphs
|
- paragraphs
|
||||||
|
@ -32,14 +34,14 @@ bundle: collection
|
||||||
mode: default
|
mode: default
|
||||||
content:
|
content:
|
||||||
comment:
|
comment:
|
||||||
weight: 15
|
weight: 16
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: comment_default
|
type: comment_default
|
||||||
region: content
|
region: content
|
||||||
created:
|
created:
|
||||||
type: datetime_timestamp
|
type: datetime_timestamp
|
||||||
weight: 11
|
weight: 13
|
||||||
region: content
|
region: content
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
|
@ -84,6 +86,12 @@ content:
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: metatag_firehose
|
type: metatag_firehose
|
||||||
region: content
|
region: content
|
||||||
|
field_publication_date:
|
||||||
|
weight: 9
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
type: datetime_default
|
||||||
|
region: content
|
||||||
field_summary:
|
field_summary:
|
||||||
weight: 4
|
weight: 4
|
||||||
settings:
|
settings:
|
||||||
|
@ -103,7 +111,7 @@ content:
|
||||||
region: content
|
region: content
|
||||||
path:
|
path:
|
||||||
type: path
|
type: path
|
||||||
weight: 9
|
weight: 11
|
||||||
region: content
|
region: content
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
|
@ -111,21 +119,21 @@ content:
|
||||||
type: boolean_checkbox
|
type: boolean_checkbox
|
||||||
settings:
|
settings:
|
||||||
display_label: true
|
display_label: true
|
||||||
weight: 13
|
weight: 10
|
||||||
region: content
|
region: content
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
status:
|
status:
|
||||||
type: boolean_checkbox
|
type: boolean_checkbox
|
||||||
settings:
|
settings:
|
||||||
display_label: true
|
display_label: true
|
||||||
weight: 14
|
weight: 15
|
||||||
region: content
|
region: content
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
sticky:
|
sticky:
|
||||||
type: boolean_checkbox
|
type: boolean_checkbox
|
||||||
settings:
|
settings:
|
||||||
display_label: true
|
display_label: true
|
||||||
weight: 12
|
weight: 14
|
||||||
region: content
|
region: content
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
title:
|
title:
|
||||||
|
@ -146,7 +154,7 @@ content:
|
||||||
region: content
|
region: content
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
url_redirects:
|
url_redirects:
|
||||||
weight: 10
|
weight: 12
|
||||||
region: content
|
region: content
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
|
|
|
@ -12,12 +12,14 @@ dependencies:
|
||||||
- field.field.node.collection.field_collection_type
|
- field.field.node.collection.field_collection_type
|
||||||
- field.field.node.collection.field_image
|
- field.field.node.collection.field_image
|
||||||
- field.field.node.collection.field_meta_tags
|
- field.field.node.collection.field_meta_tags
|
||||||
|
- field.field.node.collection.field_publication_date
|
||||||
- field.field.node.collection.field_summary
|
- field.field.node.collection.field_summary
|
||||||
- field.field.node.collection.field_tags
|
- field.field.node.collection.field_tags
|
||||||
- field.field.node.collection.field_topics
|
- field.field.node.collection.field_topics
|
||||||
- node.type.collection
|
- node.type.collection
|
||||||
module:
|
module:
|
||||||
- comment
|
- comment
|
||||||
|
- datetime
|
||||||
- ds
|
- ds
|
||||||
- image
|
- image
|
||||||
- metatag
|
- metatag
|
||||||
|
@ -89,6 +91,15 @@ content:
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: metatag_empty_formatter
|
type: metatag_empty_formatter
|
||||||
region: content
|
region: content
|
||||||
|
field_publication_date:
|
||||||
|
weight: 11
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
format_type: medium
|
||||||
|
timezone_override: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
type: datetime_default
|
||||||
|
region: content
|
||||||
field_summary:
|
field_summary:
|
||||||
weight: 1
|
weight: 1
|
||||||
label: hidden
|
label: hidden
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
uuid: 75c9445f-460d-4ea7-856d-2a88033d55bc
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_publication_date
|
||||||
|
- node.type.collection
|
||||||
|
module:
|
||||||
|
- datetime
|
||||||
|
id: node.collection.field_publication_date
|
||||||
|
field_name: field_publication_date
|
||||||
|
entity_type: node
|
||||||
|
bundle: collection
|
||||||
|
label: 'Publication date'
|
||||||
|
description: ''
|
||||||
|
required: true
|
||||||
|
translatable: true
|
||||||
|
default_value:
|
||||||
|
-
|
||||||
|
default_date_type: now
|
||||||
|
default_date: now
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: datetime
|
Loading…
Add table
Add a link
Reference in a new issue