Add subtitle field
This commit is contained in:
parent
13e1182a2a
commit
3565169cd3
4 changed files with 83 additions and 25 deletions
|
@ -16,6 +16,7 @@ dependencies:
|
||||||
- field.field.node.article.field_practices_tools_strategies
|
- field.field.node.article.field_practices_tools_strategies
|
||||||
- field.field.node.article.field_publication_date
|
- field.field.node.article.field_publication_date
|
||||||
- field.field.node.article.field_regions
|
- field.field.node.article.field_regions
|
||||||
|
- field.field.node.article.field_subtitle
|
||||||
- field.field.node.article.field_summary
|
- field.field.node.article.field_summary
|
||||||
- field.field.node.article.field_tags
|
- field.field.node.article.field_tags
|
||||||
- field.field.node.article.field_topics
|
- field.field.node.article.field_topics
|
||||||
|
@ -41,25 +42,25 @@ mode: default
|
||||||
content:
|
content:
|
||||||
comment:
|
comment:
|
||||||
type: comment_default
|
type: comment_default
|
||||||
weight: 12
|
weight: 13
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
region: content
|
region: content
|
||||||
created:
|
created:
|
||||||
type: datetime_timestamp
|
type: datetime_timestamp
|
||||||
weight: 9
|
weight: 10
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
region: content
|
region: content
|
||||||
field_article_type:
|
field_article_type:
|
||||||
weight: 1
|
weight: 2
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: options_select
|
type: options_select
|
||||||
region: content
|
region: content
|
||||||
field_authors:
|
field_authors:
|
||||||
type: entity_reference_autocomplete
|
type: entity_reference_autocomplete
|
||||||
weight: 2
|
weight: 3
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
match_operator: CONTAINS
|
match_operator: CONTAINS
|
||||||
|
@ -67,7 +68,7 @@ content:
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
field_body_paragraph:
|
field_body_paragraph:
|
||||||
weight: 5
|
weight: 6
|
||||||
settings:
|
settings:
|
||||||
title: Paragraph
|
title: Paragraph
|
||||||
title_plural: Paragraphs
|
title_plural: Paragraphs
|
||||||
|
@ -79,7 +80,7 @@ content:
|
||||||
type: entity_reference_paragraphs
|
type: entity_reference_paragraphs
|
||||||
region: content
|
region: content
|
||||||
field_economic_sectors:
|
field_economic_sectors:
|
||||||
weight: 52
|
weight: 19
|
||||||
settings:
|
settings:
|
||||||
match_operator: CONTAINS
|
match_operator: CONTAINS
|
||||||
size: 60
|
size: 60
|
||||||
|
@ -89,7 +90,7 @@ content:
|
||||||
region: content
|
region: content
|
||||||
field_image:
|
field_image:
|
||||||
type: image_focal_point
|
type: image_focal_point
|
||||||
weight: 3
|
weight: 4
|
||||||
settings:
|
settings:
|
||||||
progress_indicator: throbber
|
progress_indicator: throbber
|
||||||
preview_image_style: thumbnail
|
preview_image_style: thumbnail
|
||||||
|
@ -98,7 +99,7 @@ content:
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
region: content
|
region: content
|
||||||
field_institutions_structures:
|
field_institutions_structures:
|
||||||
weight: 53
|
weight: 20
|
||||||
settings:
|
settings:
|
||||||
match_operator: CONTAINS
|
match_operator: CONTAINS
|
||||||
size: 60
|
size: 60
|
||||||
|
@ -107,13 +108,13 @@ content:
|
||||||
type: entity_reference_autocomplete
|
type: entity_reference_autocomplete
|
||||||
region: content
|
region: content
|
||||||
field_meta_tags:
|
field_meta_tags:
|
||||||
weight: 14
|
weight: 15
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: metatag_firehose
|
type: metatag_firehose
|
||||||
region: content
|
region: content
|
||||||
field_movements_struggles:
|
field_movements_struggles:
|
||||||
weight: 54
|
weight: 21
|
||||||
settings:
|
settings:
|
||||||
match_operator: CONTAINS
|
match_operator: CONTAINS
|
||||||
size: 60
|
size: 60
|
||||||
|
@ -122,7 +123,7 @@ content:
|
||||||
type: entity_reference_autocomplete
|
type: entity_reference_autocomplete
|
||||||
region: content
|
region: content
|
||||||
field_practices_tools_strategies:
|
field_practices_tools_strategies:
|
||||||
weight: 55
|
weight: 22
|
||||||
settings:
|
settings:
|
||||||
match_operator: CONTAINS
|
match_operator: CONTAINS
|
||||||
size: 60
|
size: 60
|
||||||
|
@ -131,13 +132,13 @@ content:
|
||||||
type: entity_reference_autocomplete
|
type: entity_reference_autocomplete
|
||||||
region: content
|
region: content
|
||||||
field_publication_date:
|
field_publication_date:
|
||||||
weight: 58
|
weight: 25
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: datetime_default
|
type: datetime_default
|
||||||
region: content
|
region: content
|
||||||
field_regions:
|
field_regions:
|
||||||
weight: 57
|
weight: 24
|
||||||
settings:
|
settings:
|
||||||
match_operator: CONTAINS
|
match_operator: CONTAINS
|
||||||
size: 60
|
size: 60
|
||||||
|
@ -145,8 +146,16 @@ content:
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: entity_reference_autocomplete
|
type: entity_reference_autocomplete
|
||||||
region: content
|
region: content
|
||||||
|
field_subtitle:
|
||||||
|
weight: 1
|
||||||
|
settings:
|
||||||
|
size: 100
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
type: string_textfield
|
||||||
|
region: content
|
||||||
field_summary:
|
field_summary:
|
||||||
weight: 4
|
weight: 5
|
||||||
settings:
|
settings:
|
||||||
rows: 5
|
rows: 5
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
|
@ -155,7 +164,7 @@ content:
|
||||||
region: content
|
region: content
|
||||||
field_tags:
|
field_tags:
|
||||||
type: entity_reference_autocomplete_tags
|
type: entity_reference_autocomplete_tags
|
||||||
weight: 7
|
weight: 8
|
||||||
settings:
|
settings:
|
||||||
match_operator: CONTAINS
|
match_operator: CONTAINS
|
||||||
size: 60
|
size: 60
|
||||||
|
@ -163,20 +172,20 @@ content:
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
region: content
|
region: content
|
||||||
field_topics:
|
field_topics:
|
||||||
weight: 6
|
weight: 7
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: options_select
|
type: options_select
|
||||||
region: content
|
region: content
|
||||||
field_upload:
|
field_upload:
|
||||||
weight: 51
|
weight: 18
|
||||||
settings:
|
settings:
|
||||||
progress_indicator: throbber
|
progress_indicator: throbber
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: file_generic
|
type: file_generic
|
||||||
region: content
|
region: content
|
||||||
field_visions_models:
|
field_visions_models:
|
||||||
weight: 56
|
weight: 23
|
||||||
settings:
|
settings:
|
||||||
match_operator: CONTAINS
|
match_operator: CONTAINS
|
||||||
size: 60
|
size: 60
|
||||||
|
@ -186,7 +195,7 @@ content:
|
||||||
region: content
|
region: content
|
||||||
path:
|
path:
|
||||||
type: path
|
type: path
|
||||||
weight: 13
|
weight: 14
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
region: content
|
region: content
|
||||||
|
@ -194,21 +203,21 @@ content:
|
||||||
type: boolean_checkbox
|
type: boolean_checkbox
|
||||||
settings:
|
settings:
|
||||||
display_label: true
|
display_label: true
|
||||||
weight: 10
|
weight: 11
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
region: content
|
region: content
|
||||||
status:
|
status:
|
||||||
type: boolean_checkbox
|
type: boolean_checkbox
|
||||||
settings:
|
settings:
|
||||||
display_label: true
|
display_label: true
|
||||||
weight: 15
|
weight: 16
|
||||||
region: content
|
region: content
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
sticky:
|
sticky:
|
||||||
type: boolean_checkbox
|
type: boolean_checkbox
|
||||||
settings:
|
settings:
|
||||||
display_label: true
|
display_label: true
|
||||||
weight: 11
|
weight: 12
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
region: content
|
region: content
|
||||||
title:
|
title:
|
||||||
|
@ -221,7 +230,7 @@ content:
|
||||||
region: content
|
region: content
|
||||||
uid:
|
uid:
|
||||||
type: entity_reference_autocomplete
|
type: entity_reference_autocomplete
|
||||||
weight: 8
|
weight: 9
|
||||||
settings:
|
settings:
|
||||||
match_operator: CONTAINS
|
match_operator: CONTAINS
|
||||||
size: 60
|
size: 60
|
||||||
|
@ -229,9 +238,9 @@ content:
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
region: content
|
region: content
|
||||||
url_redirects:
|
url_redirects:
|
||||||
weight: 50
|
weight: 17
|
||||||
|
region: content
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
region: content
|
|
||||||
hidden:
|
hidden:
|
||||||
body: true
|
body: true
|
||||||
|
|
|
@ -16,6 +16,7 @@ dependencies:
|
||||||
- field.field.node.article.field_practices_tools_strategies
|
- field.field.node.article.field_practices_tools_strategies
|
||||||
- field.field.node.article.field_publication_date
|
- field.field.node.article.field_publication_date
|
||||||
- field.field.node.article.field_regions
|
- field.field.node.article.field_regions
|
||||||
|
- field.field.node.article.field_subtitle
|
||||||
- field.field.node.article.field_summary
|
- field.field.node.article.field_summary
|
||||||
- field.field.node.article.field_tags
|
- field.field.node.article.field_tags
|
||||||
- field.field.node.article.field_topics
|
- field.field.node.article.field_topics
|
||||||
|
@ -82,6 +83,14 @@ content:
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: entity_reference_label
|
type: entity_reference_label
|
||||||
region: content
|
region: content
|
||||||
|
field_subtitle:
|
||||||
|
weight: 9
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
third_party_settings: { }
|
||||||
|
type: string
|
||||||
|
region: content
|
||||||
field_upload:
|
field_upload:
|
||||||
weight: 1
|
weight: 1
|
||||||
label: above
|
label: above
|
||||||
|
|
19
config/sync/field.field.node.article.field_subtitle.yml
Normal file
19
config/sync/field.field.node.article.field_subtitle.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
uuid: 147ae323-fafd-414d-9ac7-07952963bab0
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_subtitle
|
||||||
|
- node.type.article
|
||||||
|
id: node.article.field_subtitle
|
||||||
|
field_name: field_subtitle
|
||||||
|
entity_type: node
|
||||||
|
bundle: article
|
||||||
|
label: Subtitle
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: string
|
21
config/sync/field.storage.node.field_subtitle.yml
Normal file
21
config/sync/field.storage.node.field_subtitle.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
uuid: 7c4132e1-ae08-4fdf-9f21-485781e16f36
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
id: node.field_subtitle
|
||||||
|
field_name: field_subtitle
|
||||||
|
entity_type: node
|
||||||
|
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
|
Loading…
Add table
Reference in a new issue