Commit 87a9a78d authored by Nedjo Rogers's avatar Nedjo Rogers
Browse files

Merge branch '18-blog-topics' into '8.x-1.x'

Resolve "Add topics field"

Closes #18

See merge request !23
parents 9a261b96 af537085
......@@ -10,6 +10,7 @@ dependencies:
- field.field.node.blog.field_meta_tags
- field.field.node.blog.field_summary
- field.field.node.blog.field_tags
- field.field.node.blog.field_topics
- image.style.thumbnail
- node.type.blog
module:
......@@ -25,14 +26,14 @@ bundle: blog
mode: default
content:
comment:
weight: 11
weight: 12
settings: { }
third_party_settings: { }
type: comment_default
region: content
created:
type: datetime_timestamp
weight: 7
weight: 8
settings: { }
third_party_settings: { }
region: content
......@@ -66,7 +67,7 @@ content:
type: image_image
region: content
field_meta_tags:
weight: 26
weight: 13
settings: { }
third_party_settings: { }
type: metatag_firehose
......@@ -80,7 +81,7 @@ content:
type: text_textarea
region: content
field_tags:
weight: 5
weight: 6
settings:
match_operator: CONTAINS
size: 60
......@@ -88,9 +89,15 @@ content:
third_party_settings: { }
type: entity_reference_autocomplete_tags
region: content
field_topics:
weight: 5
settings: { }
third_party_settings: { }
type: options_select
region: content
path:
type: path
weight: 10
weight: 11
settings: { }
third_party_settings: { }
region: content
......@@ -98,21 +105,21 @@ content:
type: boolean_checkbox
settings:
display_label: true
weight: 8
weight: 9
third_party_settings: { }
region: content
status:
type: boolean_checkbox
settings:
display_label: true
weight: 120
weight: 14
region: content
third_party_settings: { }
sticky:
type: boolean_checkbox
settings:
display_label: true
weight: 9
weight: 10
third_party_settings: { }
region: content
title:
......@@ -125,7 +132,7 @@ content:
region: content
uid:
type: entity_reference_autocomplete
weight: 6
weight: 7
settings:
match_operator: CONTAINS
size: 60
......
......@@ -11,6 +11,7 @@ dependencies:
- field.field.node.blog.field_meta_tags
- field.field.node.blog.field_summary
- field.field.node.blog.field_tags
- field.field.node.blog.field_topics
- node.type.blog
- responsive_image.styles.narrow
module:
......@@ -42,7 +43,7 @@ third_party_settings:
- node_title
- field_authors
- field_summary
- field_tags
- field_topics
fields:
node_title:
plugin_id: node_title
......@@ -59,9 +60,9 @@ third_party_settings:
- node_title
- field_authors
- field_summary
- field_tags
- field_topics
parent_name: ''
weight: 2
weight: 1
format_type: html_element
format_settings:
id: ''
......@@ -73,6 +74,7 @@ third_party_settings:
effect: none
speed: fast
label: 'Card content'
region: hidden
id: node.blog.card
targetEntityType: node
bundle: blog
......@@ -102,7 +104,7 @@ content:
label: visually_hidden
settings: { }
third_party_settings: { }
field_tags:
field_topics:
type: entity_reference_label
weight: 6
region: ds_content
......@@ -115,4 +117,5 @@ hidden:
comment: true
field_body_paragraph: true
field_meta_tags: true
field_tags: true
links: true
......@@ -10,6 +10,7 @@ dependencies:
- field.field.node.blog.field_meta_tags
- field.field.node.blog.field_summary
- field.field.node.blog.field_tags
- field.field.node.blog.field_topics
- node.type.blog
module:
- ds
......@@ -45,4 +46,5 @@ hidden:
field_meta_tags: true
field_summary: true
field_tags: true
field_topics: true
links: true
......@@ -12,6 +12,7 @@ dependencies:
- field.field.node.blog.field_meta_tags
- field.field.node.blog.field_summary
- field.field.node.blog.field_tags
- field.field.node.blog.field_topics
- node.type.blog
- responsive_image.styles.wide
module:
......@@ -48,6 +49,7 @@ third_party_settings:
middle:
- node_post_date
- field_body_paragraph
- field_topics
- field_tags
- node_links
- comment
......@@ -59,7 +61,7 @@ third_party_settings:
formatter: ds_post_date_month_day_year
node_links:
plugin_id: node_links
weight: 5
weight: 6
label: hidden
formatter: default
id: node.blog.full
......@@ -68,7 +70,7 @@ bundle: blog
mode: full
content:
comment:
weight: 6
weight: 7
label: above
settings:
pager_id: 0
......@@ -105,13 +107,21 @@ content:
type: responsive_image
region: header
field_tags:
weight: 4
weight: 5
label: visually_hidden
settings:
link: true
third_party_settings: { }
type: entity_reference_label
region: middle
field_topics:
type: entity_reference_label
weight: 4
region: middle
label: visually_hidden
settings:
link: true
third_party_settings: { }
hidden:
body: true
field_meta_tags: true
......
......@@ -11,6 +11,7 @@ dependencies:
- field.field.node.blog.field_meta_tags
- field.field.node.blog.field_summary
- field.field.node.blog.field_tags
- field.field.node.blog.field_topics
- image.style.square_thumbnail
- node.type.blog
module:
......@@ -40,7 +41,7 @@ third_party_settings:
- group_media_content
- field_image
- node_title
- field_tags
- field_topics
fields:
node_title:
plugin_id: node_title
......@@ -68,10 +69,11 @@ third_party_settings:
effect: none
speed: fast
label: 'Media left'
region: hidden
group_media_content:
children:
- node_title
- field_tags
- field_topics
parent_name: ''
weight: 1
format_type: html_element
......@@ -86,6 +88,7 @@ third_party_settings:
id: ''
classes: ''
label: 'Media content'
region: hidden
id: node.blog.media
targetEntityType: node
bundle: blog
......@@ -100,7 +103,7 @@ content:
image_style: square_thumbnail
image_link: content
third_party_settings: { }
field_tags:
field_topics:
type: entity_reference_label
weight: 3
region: ds_content
......@@ -115,4 +118,5 @@ hidden:
field_body_paragraph: true
field_meta_tags: true
field_summary: true
field_tags: true
links: true
......@@ -11,6 +11,7 @@ dependencies:
- field.field.node.blog.field_meta_tags
- field.field.node.blog.field_summary
- field.field.node.blog.field_tags
- field.field.node.blog.field_topics
- node.type.blog
module:
- ds
......@@ -39,6 +40,7 @@ third_party_settings:
- field_authors
- node_post_date
- field_body_paragraph
- field_topics
- field_tags
fields:
node_post_date:
......@@ -81,7 +83,7 @@ content:
third_party_settings: { }
field_tags:
type: entity_reference_label
weight: 4
weight: 5
region: ds_content
label: hidden
settings:
......@@ -89,6 +91,14 @@ content:
third_party_settings:
ds:
ds_limit: ''
field_topics:
type: entity_reference_label
weight: 4
region: ds_content
label: hidden
settings:
link: true
third_party_settings: { }
hidden:
body: true
comment: true
......
......@@ -11,6 +11,7 @@ dependencies:
- field.field.node.blog.field_meta_tags
- field.field.node.blog.field_summary
- field.field.node.blog.field_tags
- field.field.node.blog.field_topics
- node.type.blog
- responsive_image.styles.narrow
module:
......@@ -43,7 +44,7 @@ third_party_settings:
- node_title
- field_authors
- field_summary
- field_tags
- field_topics
fields:
node_post_date:
plugin_id: node_post_date
......@@ -88,7 +89,7 @@ content:
settings: { }
third_party_settings: { }
region: right
field_tags:
field_topics:
type: entity_reference_label
weight: 5
region: right
......@@ -101,4 +102,5 @@ hidden:
comment: true
field_body_paragraph: true
field_meta_tags: true
field_tags: true
links: true
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_topics
- node.type.blog
- taxonomy.vocabulary.topics
id: node.blog.field_topics
field_name: field_topics
entity_type: node
bundle: blog
label: Topics
description: 'Choose one or more high-level topics to categorize your content across multiple content types.'
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
topics: topics
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment