Add the "publication field"in the blog and gleaning content type
This commit is contained in:
parent
e78d0df898
commit
b07c74d77e
6 changed files with 80 additions and 0 deletions
|
@ -9,6 +9,7 @@ dependencies:
|
|||
- field.field.node.blog.field_body_paragraph
|
||||
- field.field.node.blog.field_image
|
||||
- field.field.node.blog.field_meta_tags
|
||||
- field.field.node.blog.field_publication_date
|
||||
- field.field.node.blog.field_summary
|
||||
- field.field.node.blog.field_tags
|
||||
- field.field.node.blog.field_topics
|
||||
|
@ -18,6 +19,7 @@ dependencies:
|
|||
module:
|
||||
- comment
|
||||
- cshs
|
||||
- datetime
|
||||
- file
|
||||
- focal_point
|
||||
- metatag
|
||||
|
@ -80,6 +82,12 @@ content:
|
|||
third_party_settings: { }
|
||||
type: metatag_firehose
|
||||
region: content
|
||||
field_publication_date:
|
||||
weight: 26
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: datetime_default
|
||||
region: content
|
||||
field_summary:
|
||||
weight: 3
|
||||
settings:
|
||||
|
|
|
@ -6,11 +6,13 @@ dependencies:
|
|||
- field.field.node.gleaning.body
|
||||
- field.field.node.gleaning.comment
|
||||
- field.field.node.gleaning.field_image
|
||||
- field.field.node.gleaning.field_publication_date
|
||||
- field.field.node.gleaning.field_upload
|
||||
- image.style.thumbnail
|
||||
- node.type.gleaning
|
||||
module:
|
||||
- comment
|
||||
- datetime
|
||||
- file
|
||||
- image
|
||||
- path
|
||||
|
@ -49,6 +51,12 @@ content:
|
|||
third_party_settings: { }
|
||||
type: image_image
|
||||
region: content
|
||||
field_publication_date:
|
||||
weight: 125
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: datetime_default
|
||||
region: content
|
||||
field_upload:
|
||||
weight: 123
|
||||
settings:
|
||||
|
|
|
@ -9,12 +9,14 @@ dependencies:
|
|||
- field.field.node.blog.field_body_paragraph
|
||||
- field.field.node.blog.field_image
|
||||
- field.field.node.blog.field_meta_tags
|
||||
- field.field.node.blog.field_publication_date
|
||||
- field.field.node.blog.field_summary
|
||||
- field.field.node.blog.field_tags
|
||||
- field.field.node.blog.field_topics
|
||||
- field.field.node.blog.field_upload
|
||||
- node.type.blog
|
||||
module:
|
||||
- datetime
|
||||
- ds
|
||||
- file
|
||||
- user
|
||||
|
@ -42,6 +44,15 @@ targetEntityType: node
|
|||
bundle: blog
|
||||
mode: default
|
||||
content:
|
||||
field_publication_date:
|
||||
weight: 2
|
||||
label: above
|
||||
settings:
|
||||
format_type: medium
|
||||
timezone_override: ''
|
||||
third_party_settings: { }
|
||||
type: datetime_default
|
||||
region: content
|
||||
field_upload:
|
||||
weight: 1
|
||||
label: above
|
||||
|
|
|
@ -6,9 +6,11 @@ dependencies:
|
|||
- field.field.node.gleaning.body
|
||||
- field.field.node.gleaning.comment
|
||||
- field.field.node.gleaning.field_image
|
||||
- field.field.node.gleaning.field_publication_date
|
||||
- field.field.node.gleaning.field_upload
|
||||
- node.type.gleaning
|
||||
module:
|
||||
- datetime
|
||||
- file
|
||||
- image
|
||||
- text
|
||||
|
@ -34,6 +36,15 @@ content:
|
|||
third_party_settings: { }
|
||||
type: image
|
||||
region: content
|
||||
field_publication_date:
|
||||
weight: 4
|
||||
label: above
|
||||
settings:
|
||||
format_type: medium
|
||||
timezone_override: ''
|
||||
third_party_settings: { }
|
||||
type: datetime_default
|
||||
region: content
|
||||
field_upload:
|
||||
weight: 3
|
||||
label: above
|
||||
|
|
21
config/sync/field.field.node.blog.field_publication_date.yml
Normal file
21
config/sync/field.field.node.blog.field_publication_date.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
uuid: 1e193d8e-d6b0-4238-b289-59055d310d46
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_publication_date
|
||||
- node.type.blog
|
||||
module:
|
||||
- datetime
|
||||
id: node.blog.field_publication_date
|
||||
field_name: field_publication_date
|
||||
entity_type: node
|
||||
bundle: blog
|
||||
label: 'Publication date'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: true
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: datetime
|
|
@ -0,0 +1,21 @@
|
|||
uuid: 160e7cc3-1db4-4691-9824-349cc47ce7a4
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_publication_date
|
||||
- node.type.gleaning
|
||||
module:
|
||||
- datetime
|
||||
id: node.gleaning.field_publication_date
|
||||
field_name: field_publication_date
|
||||
entity_type: node
|
||||
bundle: gleaning
|
||||
label: 'Publication date'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: true
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: datetime
|
Loading…
Add table
Reference in a new issue