Commit 357ed1d3 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Merge branch 'feature/ISTWCMS-4103-ebremner-add-metatag-fields' into '8.x-1.x'

ISTWCMS-4103: adding fields for metatags

See merge request !2
parents c1b43c84 06800744
......@@ -12,6 +12,9 @@ dependencies:
- field.field.node.uw_ct_event.field_uw_event_tags
- field.field.node.uw_ct_event.field_uw_event_type
- field.field.node.uw_ct_event.field_uw_event_website
- field.field.node.uw_ct_event.field_uw_meta_description
- field.field.node.uw_ct_event.field_uw_meta_image
- field.field.node.uw_ct_event.field_uw_meta_tags
- field.field.node.uw_ct_event.layout_builder__layout
- node.type.uw_ct_event
module:
......@@ -22,6 +25,7 @@ dependencies:
- geofield_map
- link
- media_library
- metatag
- path
- smart_date
- text
......@@ -70,6 +74,21 @@ third_party_settings:
description: ''
required_fields: true
label: 'Event location'
group_uw_meta_info_events:
children:
- field_uw_meta_description
- field_uw_meta_image
- field_uw_meta_tags
parent_name: ''
weight: 15
format_type: fieldset
region: content
format_settings:
id: ''
classes: ''
description: ''
required_fields: true
label: 'Meta tag information for social media sharing/search/etc.'
id: node.uw_ct_event.default
targetEntityType: node
bundle: uw_ct_event
......@@ -93,6 +112,12 @@ content:
weight: 7
settings:
modal: false
default_tz: ''
custom_tz: ''
allowed_timezones: { }
default_duration: 60
default_duration_increments: "30\n60|1 hour\n90\n120|2 hours\ncustom"
show_extra: true
third_party_settings: { }
type: smartdate_timezone
region: content
......@@ -197,6 +222,33 @@ content:
third_party_settings: { }
type: link_default
region: content
field_uw_meta_description:
weight: 17
settings:
rows: 3
placeholder: ''
third_party_settings:
maxlength:
maxlength_js: 160
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: false
maxlength_js_truncate_html: false
type: string_textarea
region: content
field_uw_meta_image:
weight: 18
settings:
media_types: { }
third_party_settings: { }
type: media_library_widget
region: content
field_uw_meta_tags:
weight: 19
settings:
sidebar: false
third_party_settings: { }
type: metatag_firehose
region: content
langcode:
type: language_select
weight: 1
......
......@@ -13,6 +13,9 @@ dependencies:
- field.field.node.uw_ct_event.field_uw_event_tags
- field.field.node.uw_ct_event.field_uw_event_type
- field.field.node.uw_ct_event.field_uw_event_website
- field.field.node.uw_ct_event.field_uw_meta_description
- field.field.node.uw_ct_event.field_uw_meta_image
- field.field.node.uw_ct_event.field_uw_meta_tags
- field.field.node.uw_ct_event.layout_builder__layout
- node.type.uw_ct_event
module:
......@@ -21,6 +24,7 @@ dependencies:
- layout_builder
- layout_builder_restrictions
- link
- metatag
- smart_date
- text
- user
......@@ -334,16 +338,6 @@ third_party_settings:
additional:
layout_builder_id: ''
weight: 12
5e221667-cd0f-4d64-b033-5e78079519d2:
uuid: 5e221667-cd0f-4d64-b033-5e78079519d2
region: content
configuration:
label_display: '0'
context_mapping:
entity: layout_builder.entity
id: 'extra_field_block:node:uw_ct_event:content_moderation_control'
additional: { }
weight: 13
third_party_settings: { }
-
layout_id: uw_1_column
......@@ -428,11 +422,6 @@ targetEntityType: node
bundle: uw_ct_event
mode: default
content:
content_moderation_control:
weight: -20
settings: { }
third_party_settings: { }
region: content
field_uw_event_cost:
weight: 105
label: above
......@@ -524,6 +513,28 @@ content:
third_party_settings: { }
type: link
region: content
field_uw_meta_description:
weight: 115
label: above
settings: { }
third_party_settings: { }
type: basic_string
region: first
field_uw_meta_image:
weight: 114
label: above
settings:
link: true
third_party_settings: { }
type: entity_reference_label
region: first
field_uw_meta_tags:
weight: 116
label: above
settings: { }
third_party_settings: { }
type: metatag_empty_formatter
region: first
links:
weight: 100
settings: { }
......
......@@ -13,6 +13,9 @@ dependencies:
- field.field.node.uw_ct_event.field_uw_event_tags
- field.field.node.uw_ct_event.field_uw_event_type
- field.field.node.uw_ct_event.field_uw_event_website
- field.field.node.uw_ct_event.field_uw_meta_description
- field.field.node.uw_ct_event.field_uw_meta_image
- field.field.node.uw_ct_event.field_uw_meta_tags
- field.field.node.uw_ct_event.layout_builder__layout
- node.type.uw_ct_event
module:
......@@ -48,6 +51,9 @@ hidden:
field_uw_event_tags: true
field_uw_event_type: true
field_uw_event_website: true
field_uw_meta_description: true
field_uw_meta_image: true
field_uw_meta_tags: true
langcode: true
layout_builder__layout: true
links: true
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_uw_meta_description
- node.type.uw_ct_event
module:
- require_on_publish
third_party_settings:
require_on_publish:
require_on_publish: true
id: node.uw_ct_event.field_uw_meta_description
field_name: field_uw_meta_description
entity_type: node
bundle: uw_ct_event
label: 'Description of content'
description: 'A brief and concise description of the page''s content. Recommended: no more than one or two sentences.'
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: string_long
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_uw_meta_image
- media.type.uw_mt_image
- node.type.uw_ct_event
module:
- require_on_publish
third_party_settings:
require_on_publish:
require_on_publish: false
id: node.uw_ct_event.field_uw_meta_image
field_name: field_uw_meta_image
entity_type: node
bundle: uw_ct_event
label: 'Associated image'
description: 'An image associated with this page, for use as a thumbnail in social networks and other services. Recommended aspect ratio: 1.9:1. If no image is provided, the University of Waterloo logo will be used.'
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:media'
handler_settings:
target_bundles:
uw_mt_image: uw_mt_image
sort:
field: created
direction: ASC
auto_create: false
auto_create_bundle: ''
field_type: entity_reference
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_uw_meta_tags
- node.type.uw_ct_event
module:
- metatag
- require_on_publish
third_party_settings:
require_on_publish:
require_on_publish: false
id: node.uw_ct_event.field_uw_meta_tags
field_name: field_uw_meta_tags
entity_type: node
bundle: uw_ct_event
label: 'Advanced configuration'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: metatag
......@@ -19,12 +19,15 @@ dependencies:
- layout_discovery
- leaflet
- link
- maxlength
- media
- media_library
- menu_ui
- metatag
- node
- node_revision_delete
- path
- require_on_publish
- smart_date
- smart_date_recur
- taxonomy
......@@ -34,4 +37,3 @@ dependencies:
- uw_media
- views
- views_autocomplete_filters
Supports Markdown
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