Add new talk fields
This commit is contained in:
parent
f17eb0c154
commit
2bba847ae5
|
@ -5,7 +5,9 @@ dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.paragraph.event.field_date
|
- field.field.paragraph.event.field_date
|
||||||
- field.field.paragraph.event.field_link
|
- field.field.paragraph.event.field_link
|
||||||
|
- field.field.paragraph.event.field_location
|
||||||
- field.field.paragraph.event.field_name
|
- field.field.paragraph.event.field_name
|
||||||
|
- field.field.paragraph.event.field_remote
|
||||||
- paragraphs.paragraphs_type.event
|
- paragraphs.paragraphs_type.event
|
||||||
module:
|
module:
|
||||||
- datetime
|
- datetime
|
||||||
|
@ -16,19 +18,27 @@ bundle: event
|
||||||
mode: default
|
mode: default
|
||||||
content:
|
content:
|
||||||
field_date:
|
field_date:
|
||||||
weight: 1
|
weight: 2
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: datetime_default
|
type: datetime_default
|
||||||
region: content
|
region: content
|
||||||
field_link:
|
field_link:
|
||||||
weight: 2
|
weight: 4
|
||||||
settings:
|
settings:
|
||||||
placeholder_url: ''
|
placeholder_url: ''
|
||||||
placeholder_title: ''
|
placeholder_title: ''
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: link_default
|
type: link_default
|
||||||
region: content
|
region: content
|
||||||
|
field_location:
|
||||||
|
weight: 1
|
||||||
|
settings:
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
type: string_textfield
|
||||||
|
region: content
|
||||||
field_name:
|
field_name:
|
||||||
weight: 0
|
weight: 0
|
||||||
settings:
|
settings:
|
||||||
|
@ -37,6 +47,13 @@ content:
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: string_textfield
|
type: string_textfield
|
||||||
region: content
|
region: content
|
||||||
|
field_remote:
|
||||||
|
weight: 3
|
||||||
|
settings:
|
||||||
|
display_label: true
|
||||||
|
third_party_settings: { }
|
||||||
|
type: boolean_checkbox
|
||||||
|
region: content
|
||||||
hidden:
|
hidden:
|
||||||
created: true
|
created: true
|
||||||
status: true
|
status: true
|
||||||
|
|
|
@ -11,28 +11,26 @@ dependencies:
|
||||||
- field.field.node.talk.field_video
|
- field.field.node.talk.field_video
|
||||||
- node.type.talk
|
- node.type.talk
|
||||||
module:
|
module:
|
||||||
- text
|
|
||||||
- user
|
- user
|
||||||
id: node.talk.teaser
|
id: node.talk.teaser
|
||||||
targetEntityType: node
|
targetEntityType: node
|
||||||
bundle: talk
|
bundle: talk
|
||||||
mode: teaser
|
mode: teaser
|
||||||
content:
|
content:
|
||||||
body:
|
field_excerpt:
|
||||||
label: hidden
|
type: basic_string
|
||||||
type: text_summary_or_trimmed
|
weight: 0
|
||||||
weight: 101
|
|
||||||
settings:
|
|
||||||
trim_length: 600
|
|
||||||
third_party_settings: { }
|
|
||||||
region: content
|
region: content
|
||||||
links:
|
label: hidden
|
||||||
weight: 100
|
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
|
links:
|
||||||
|
weight: 1
|
||||||
region: content
|
region: content
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
hidden:
|
hidden:
|
||||||
|
body: true
|
||||||
field_events: true
|
field_events: true
|
||||||
field_excerpt: true
|
|
||||||
field_slides: true
|
field_slides: true
|
||||||
field_video: true
|
field_video: true
|
||||||
|
|
|
@ -5,7 +5,9 @@ dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.paragraph.event.field_date
|
- field.field.paragraph.event.field_date
|
||||||
- field.field.paragraph.event.field_link
|
- field.field.paragraph.event.field_link
|
||||||
|
- field.field.paragraph.event.field_location
|
||||||
- field.field.paragraph.event.field_name
|
- field.field.paragraph.event.field_name
|
||||||
|
- field.field.paragraph.event.field_remote
|
||||||
- paragraphs.paragraphs_type.event
|
- paragraphs.paragraphs_type.event
|
||||||
module:
|
module:
|
||||||
- datetime
|
- datetime
|
||||||
|
@ -36,6 +38,14 @@ content:
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: link
|
type: link
|
||||||
region: content
|
region: content
|
||||||
|
field_location:
|
||||||
|
weight: 4
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
third_party_settings: { }
|
||||||
|
type: string
|
||||||
|
region: content
|
||||||
field_name:
|
field_name:
|
||||||
weight: 0
|
weight: 0
|
||||||
label: above
|
label: above
|
||||||
|
@ -44,4 +54,14 @@ content:
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: string
|
type: string
|
||||||
region: content
|
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: { }
|
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
|
id: event
|
||||||
label: Event
|
label: Event
|
||||||
icon_uuid: null
|
icon_uuid: null
|
||||||
|
icon_default: null
|
||||||
description: ''
|
description: ''
|
||||||
behavior_plugins: { }
|
behavior_plugins: { }
|
||||||
|
|
Loading…
Reference in a new issue