Add excerpt field

This commit is contained in:
Oliver Davies 2020-02-14 23:41:59 +00:00
parent b75343a17b
commit 7acfeb99d4
4 changed files with 44 additions and 0 deletions

View file

@ -5,11 +5,13 @@ dependencies:
config:
- field.field.node.talk.body
- field.field.node.talk.field_events
- field.field.node.talk.field_excerpt
- field.field.node.talk.field_slides
- field.field.node.talk.field_video
- node.type.talk
module:
- paragraphs
- path
- speakerdeck_field
- text
id: node.talk.default
@ -45,6 +47,14 @@ content:
default_paragraph_type: events
third_party_settings: { }
region: content
field_excerpt:
weight: 51
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: string_textarea
region: content
field_slides:
weight: 26
settings:
@ -108,4 +118,9 @@ content:
match_limit: 10
region: content
third_party_settings: { }
url_redirects:
weight: 50
region: content
settings: { }
third_party_settings: { }
hidden: { }

View file

@ -5,6 +5,7 @@ dependencies:
config:
- field.field.node.talk.body
- field.field.node.talk.field_events
- field.field.node.talk.field_excerpt
- field.field.node.talk.field_slides
- field.field.node.talk.field_video
- node.type.talk
@ -34,6 +35,13 @@ content:
link: ''
third_party_settings: { }
region: content
field_excerpt:
weight: 105
label: above
settings: { }
third_party_settings: { }
type: basic_string
region: content
field_slides:
weight: 104
label: above

View file

@ -6,6 +6,7 @@ dependencies:
- core.entity_view_mode.node.teaser
- field.field.node.talk.body
- field.field.node.talk.field_events
- field.field.node.talk.field_excerpt
- field.field.node.talk.field_slides
- field.field.node.talk.field_video
- node.type.talk
@ -32,5 +33,6 @@ content:
region: content
hidden:
field_events: true
field_excerpt: true
field_slides: true
field_video: true

View file

@ -0,0 +1,19 @@
uuid: 19d5a93b-41aa-49d5-a735-ac291718f0d4
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_excerpt
- node.type.talk
id: node.talk.field_excerpt
field_name: field_excerpt
entity_type: node
bundle: talk
label: Excerpt
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: string_long