Commit 3aa1490a authored by Eric Bremner's avatar Eric Bremner Committed by Kevin Paxman
Browse files

ISTWCMS-4103: adding fields for metatags

parent c1b43c84
......@@ -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,28 @@ content:
third_party_settings: { }
type: link_default
region: content
field_uw_meta_description:
weight: 17
settings:
rows: 3
placeholder: ''
third_party_settings: { }
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
......@@ -524,6 +528,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:
......@@ -23,6 +26,11 @@ targetEntityType: node
bundle: uw_ct_event
mode: teaser
content:
content_moderation_control:
weight: -20
settings: { }
third_party_settings: { }
region: content
field_uw_event_listing_page_img:
type: entity_reference_entity_view
weight: 1
......@@ -48,6 +56,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: 'Meta tags'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: metatag
......@@ -22,9 +22,11 @@ dependencies:
- media
- media_library
- menu_ui
- metatag
- node
- node_revision_delete
- path
- require_on_publish
- smart_date
- smart_date_recur
- taxonomy
......@@ -34,4 +36,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