Add meta tags field for post and talk nodes

This commit is contained in:
Oliver Davies 2021-03-06 01:34:33 +00:00
parent 0b182e4d48
commit 4c29c072b3
9 changed files with 54 additions and 3 deletions

View file

@ -180,4 +180,5 @@ content:
third_party_settings: { } third_party_settings: { }
hidden: hidden:
field_external_link: true field_external_link: true
field_meta_tags: true
field_sent_to_social_media: true field_sent_to_social_media: true

View file

@ -146,3 +146,4 @@ content:
third_party_settings: { } third_party_settings: { }
hidden: hidden:
field_event_date: true field_event_date: true
field_meta_tags: true

View file

@ -49,6 +49,7 @@ hidden:
field_external_link: true field_external_link: true
field_has_tweet: true field_has_tweet: true
field_images: true field_images: true
field_meta_tags: true
field_note: true field_note: true
field_send_to_social_media: true field_send_to_social_media: true
field_sent_to_social_media: true field_sent_to_social_media: true

View file

@ -40,6 +40,7 @@ hidden:
field_external_link: true field_external_link: true
field_has_tweet: true field_has_tweet: true
field_images: true field_images: true
field_meta_tags: true
field_note: true field_note: true
field_send_to_social_media: true field_send_to_social_media: true
field_sent_to_social_media: true field_sent_to_social_media: true

View file

@ -69,3 +69,4 @@ content:
hidden: hidden:
field_event_date: true field_event_date: true
field_excerpt: true field_excerpt: true
field_meta_tags: true

View file

@ -35,6 +35,7 @@ hidden:
body: true body: true
field_event_date: true field_event_date: true
field_events: true field_events: true
field_meta_tags: true
field_slides: true field_slides: true
field_type: true field_type: true
field_video: true field_video: true

View file

@ -0,0 +1,21 @@
uuid: bc91f5a0-299b-462d-97be-79cf544c49ff
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_meta_tags
- node.type.post
module:
- metatag
id: node.post.field_meta_tags
field_name: field_meta_tags
entity_type: node
bundle: post
label: 'Meta tags'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: metatag

View file

@ -0,0 +1,21 @@
uuid: 2de9ae45-c2d5-448c-8fb0-6965e5edb317
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_meta_tags
- node.type.talk
module:
- metatag
id: node.talk.field_meta_tags
field_name: field_meta_tags
entity_type: node
bundle: talk
label: 'Meta tags'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: metatag

View file

@ -2,10 +2,13 @@ entity_type_groups:
node: node:
page: page:
basic: basic basic: basic
advanced: advanced open_graph: open_graph
twitter_cards: twitter_cards
post: post:
basic: basic basic: basic
advanced: advanced open_graph: open_graph
twitter_cards: twitter_cards
talk: talk:
basic: basic basic: basic
advanced: advanced open_graph: open_graph
twitter_cards: twitter_cards