Add event date field
This commit is contained in:
parent
1c9eb77604
commit
b75343a17b
|
@ -3,18 +3,26 @@ langcode: en
|
|||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.paragraph.event.field_date
|
||||
- field.field.paragraph.event.field_link
|
||||
- field.field.paragraph.event.field_name
|
||||
- paragraphs.paragraphs_type.event
|
||||
module:
|
||||
- datetime
|
||||
- link
|
||||
id: paragraph.event.default
|
||||
targetEntityType: paragraph
|
||||
bundle: event
|
||||
mode: default
|
||||
content:
|
||||
field_link:
|
||||
field_date:
|
||||
weight: 1
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: datetime_default
|
||||
region: content
|
||||
field_link:
|
||||
weight: 2
|
||||
settings:
|
||||
placeholder_url: ''
|
||||
placeholder_title: ''
|
||||
|
|
|
@ -3,16 +3,27 @@ langcode: en
|
|||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.paragraph.event.field_date
|
||||
- field.field.paragraph.event.field_link
|
||||
- field.field.paragraph.event.field_name
|
||||
- paragraphs.paragraphs_type.event
|
||||
module:
|
||||
- datetime
|
||||
- link
|
||||
id: paragraph.event.default
|
||||
targetEntityType: paragraph
|
||||
bundle: event
|
||||
mode: default
|
||||
content:
|
||||
field_date:
|
||||
weight: 2
|
||||
label: above
|
||||
settings:
|
||||
format_type: medium
|
||||
timezone_override: ''
|
||||
third_party_settings: { }
|
||||
type: datetime_default
|
||||
region: content
|
||||
field_link:
|
||||
weight: 1
|
||||
label: above
|
||||
|
|
21
config/sync/field.field.paragraph.event.field_date.yml
Normal file
21
config/sync/field.field.paragraph.event.field_date.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
uuid: d14d1f44-fcea-4076-95e2-cceaac1f3918
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.paragraph.field_date
|
||||
- paragraphs.paragraphs_type.event
|
||||
module:
|
||||
- datetime
|
||||
id: paragraph.event.field_date
|
||||
field_name: field_date
|
||||
entity_type: paragraph
|
||||
bundle: event
|
||||
label: Date
|
||||
description: ''
|
||||
required: true
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: datetime
|
20
config/sync/field.storage.paragraph.field_date.yml
Normal file
20
config/sync/field.storage.paragraph.field_date.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
uuid: 48a575a5-c085-4f5e-9c73-05c5eb8e608a
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- datetime
|
||||
- paragraphs
|
||||
id: paragraph.field_date
|
||||
field_name: field_date
|
||||
entity_type: paragraph
|
||||
type: datetime
|
||||
settings:
|
||||
datetime_type: date
|
||||
module: datetime
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
Loading…
Reference in a new issue