Add new talk fields
This commit is contained in:
parent
f17eb0c154
commit
2bba847ae5
|
@ -5,7 +5,9 @@ dependencies:
|
|||
config:
|
||||
- field.field.paragraph.event.field_date
|
||||
- field.field.paragraph.event.field_link
|
||||
- field.field.paragraph.event.field_location
|
||||
- field.field.paragraph.event.field_name
|
||||
- field.field.paragraph.event.field_remote
|
||||
- paragraphs.paragraphs_type.event
|
||||
module:
|
||||
- datetime
|
||||
|
@ -16,19 +18,27 @@ bundle: event
|
|||
mode: default
|
||||
content:
|
||||
field_date:
|
||||
weight: 1
|
||||
weight: 2
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: datetime_default
|
||||
region: content
|
||||
field_link:
|
||||
weight: 2
|
||||
weight: 4
|
||||
settings:
|
||||
placeholder_url: ''
|
||||
placeholder_title: ''
|
||||
third_party_settings: { }
|
||||
type: link_default
|
||||
region: content
|
||||
field_location:
|
||||
weight: 1
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
type: string_textfield
|
||||
region: content
|
||||
field_name:
|
||||
weight: 0
|
||||
settings:
|
||||
|
@ -37,6 +47,13 @@ content:
|
|||
third_party_settings: { }
|
||||
type: string_textfield
|
||||
region: content
|
||||
field_remote:
|
||||
weight: 3
|
||||
settings:
|
||||
display_label: true
|
||||
third_party_settings: { }
|
||||
type: boolean_checkbox
|
||||
region: content
|
||||
hidden:
|
||||
created: true
|
||||
status: true
|
||||
|
|
|
@ -11,28 +11,26 @@ dependencies:
|
|||
- field.field.node.talk.field_video
|
||||
- node.type.talk
|
||||
module:
|
||||
- text
|
||||
- user
|
||||
id: node.talk.teaser
|
||||
targetEntityType: node
|
||||
bundle: talk
|
||||
mode: teaser
|
||||
content:
|
||||
body:
|
||||
label: hidden
|
||||
type: text_summary_or_trimmed
|
||||
weight: 101
|
||||
settings:
|
||||
trim_length: 600
|
||||
third_party_settings: { }
|
||||
field_excerpt:
|
||||
type: basic_string
|
||||
weight: 0
|
||||
region: content
|
||||
links:
|
||||
weight: 100
|
||||
label: hidden
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
links:
|
||||
weight: 1
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
hidden:
|
||||
body: true
|
||||
field_events: true
|
||||
field_excerpt: true
|
||||
field_slides: true
|
||||
field_video: true
|
||||
|
|
|
@ -5,7 +5,9 @@ dependencies:
|
|||
config:
|
||||
- field.field.paragraph.event.field_date
|
||||
- field.field.paragraph.event.field_link
|
||||
- field.field.paragraph.event.field_location
|
||||
- field.field.paragraph.event.field_name
|
||||
- field.field.paragraph.event.field_remote
|
||||
- paragraphs.paragraphs_type.event
|
||||
module:
|
||||
- datetime
|
||||
|
@ -36,6 +38,14 @@ content:
|
|||
third_party_settings: { }
|
||||
type: link
|
||||
region: content
|
||||
field_location:
|
||||
weight: 4
|
||||
label: above
|
||||
settings:
|
||||
link_to_entity: false
|
||||
third_party_settings: { }
|
||||
type: string
|
||||
region: content
|
||||
field_name:
|
||||
weight: 0
|
||||
label: above
|
||||
|
@ -44,4 +54,14 @@ content:
|
|||
third_party_settings: { }
|
||||
type: string
|
||||
region: content
|
||||
field_remote:
|
||||
weight: 3
|
||||
label: above
|
||||
settings:
|
||||
format: default
|
||||
format_custom_false: ''
|
||||
format_custom_true: ''
|
||||
third_party_settings: { }
|
||||
type: boolean
|
||||
region: content
|
||||
hidden: { }
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
uuid: 328a4776-2e9a-4fea-a1ec-48c0411cc489
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.paragraph.field_location
|
||||
- paragraphs.paragraphs_type.event
|
||||
id: paragraph.event.field_location
|
||||
field_name: field_location
|
||||
entity_type: paragraph
|
||||
bundle: event
|
||||
label: Location
|
||||
description: ''
|
||||
required: true
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: string
|
23
config/default/field.field.paragraph.event.field_remote.yml
Normal file
23
config/default/field.field.paragraph.event.field_remote.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
uuid: 5764fb06-990c-4fdb-b4bb-e31be33c4bce
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.paragraph.field_remote
|
||||
- paragraphs.paragraphs_type.event
|
||||
id: paragraph.event.field_remote
|
||||
field_name: field_remote
|
||||
entity_type: paragraph
|
||||
bundle: event
|
||||
label: Remote
|
||||
description: 'Was this talk presented remotely?'
|
||||
required: false
|
||||
translatable: false
|
||||
default_value:
|
||||
-
|
||||
value: 0
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
on_label: 'Yes'
|
||||
off_label: 'No'
|
||||
field_type: boolean
|
21
config/default/field.storage.paragraph.field_location.yml
Normal file
21
config/default/field.storage.paragraph.field_location.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
uuid: f8fb22d5-233e-481d-87e1-0d55dff4bc31
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- paragraphs
|
||||
id: paragraph.field_location
|
||||
field_name: field_location
|
||||
entity_type: paragraph
|
||||
type: string
|
||||
settings:
|
||||
max_length: 255
|
||||
is_ascii: false
|
||||
case_sensitive: false
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
18
config/default/field.storage.paragraph.field_remote.yml
Normal file
18
config/default/field.storage.paragraph.field_remote.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
uuid: 6910b08a-4896-475a-b1f6-d41a157d1061
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- paragraphs
|
||||
id: paragraph.field_remote
|
||||
field_name: field_remote
|
||||
entity_type: paragraph
|
||||
type: boolean
|
||||
settings: { }
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
|
@ -5,5 +5,6 @@ dependencies: { }
|
|||
id: event
|
||||
label: Event
|
||||
icon_uuid: null
|
||||
icon_default: null
|
||||
description: ''
|
||||
behavior_plugins: { }
|
||||
|
|
Loading…
Reference in a new issue