Skip to content

Commit

Permalink
Closes #714 Add metatag field to all content types (#830)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Green <trackleft2@2860655.no-reply.drupal.org>
Co-authored-by: Joe Parsons <471936+joeparsons@users.noreply.github.com>
  • Loading branch information
3 people committed Jun 25, 2021
1 parent aecea02 commit 2c33003
Show file tree
Hide file tree
Showing 12 changed files with 950 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ content:
edit_mode: open
add_mode: dropdown
form_display_mode: default
default_paragraph_type: '_none'
default_paragraph_type: _none
third_party_settings: { }
region: content
field_az_event_category:
Expand All @@ -94,14 +94,14 @@ content:
default_duration_increments: "30\n60|1 hour\n90\n120|2 hours\ncustom"
third_party_settings:
smart_date_recur:
modal: '1'
modal: true
allowed_recur_freq_values:
DAILY: DAILY
WEEKLY: WEEKLY
MONTHLY: MONTHLY
YEARLY: YEARLY
MINUTELY: 0
HOURLY: 0
MINUTELY: '0'
HOURLY: '0'
type: smartdate_default
region: content
field_az_link:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_az_metatag
- node.type.az_event
module:
- metatag
id: node.az_event.field_az_metatag
field_name: field_az_metatag
entity_type: node
bundle: az_event
label: 'Meta tags'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: metatag
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_az_metatag
- node.type.az_flexible_page
module:
- metatag
id: node.az_flexible_page.field_az_metatag
field_name: field_az_metatag
entity_type: node
bundle: az_flexible_page
label: 'Meta tags'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: metatag
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_az_metatag
- node.type.az_news
module:
- metatag
id: node.az_news.field_az_metatag
field_name: field_az_metatag
entity_type: node
bundle: az_news
label: 'Meta tags'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: metatag
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ status: true
dependencies:
config:
- field.field.node.az_person.field_az_address
- field.field.node.az_person.field_az_body
- field.field.node.az_person.field_az_attachments
- field.field.node.az_person.field_az_body
- field.field.node.az_person.field_az_degrees
- field.field.node.az_person.field_az_email
- field.field.node.az_person.field_az_fname
Expand Down Expand Up @@ -60,6 +60,13 @@ content:
third_party_settings: { }
type: text_textarea
region: content
field_az_attachments:
weight: 11
settings:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
field_az_body:
weight: 10
settings:
Expand All @@ -68,13 +75,6 @@ content:
third_party_settings: { }
type: text_textarea
region: content
field_az_attachments:
weight: 11
settings:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
field_az_degrees:
weight: 12
settings:
Expand Down Expand Up @@ -194,4 +194,9 @@ content:
match_limit: 10
region: content
third_party_settings: { }
url_redirects:
weight: 50
settings: { }
third_party_settings: { }
region: content
hidden: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_az_metatag
- node.type.az_person
module:
- metatag
id: node.az_person.field_az_metatag
field_name: field_az_metatag
entity_type: node
bundle: az_person
label: 'Meta tags'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: metatag
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
langcode: en
status: true
dependencies:
module:
- metatag
- node
id: node.field_az_metatag
field_name: field_az_metatag
entity_type: node
type: metatag
settings: { }
module: metatag
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
langcode: en
status: true
dependencies:
config:
- field.field.node.az_event.field_az_attachments
- field.field.node.az_event.field_az_body
- field.field.node.az_event.field_az_contacts
- field.field.node.az_event.field_az_event_category
- field.field.node.az_event.field_az_event_date
- field.field.node.az_event.field_az_link
- field.field.node.az_event.field_az_location
- field.field.node.az_event.field_az_metatag
- field.field.node.az_event.field_az_photos
- field.field.node.az_event.field_az_subheading
- field.field.node.az_event.field_az_summary
- node.type.az_event
module:
- field_group
- file
- link
- media_library
- metatag
- paragraphs
- path
- smart_date
- smart_date_recur
- text
third_party_settings:
field_group:
group_summary:
children:
- field_az_link
- field_az_summary
parent_name: ''
weight: 15
format_type: details_sidebar
region: content
format_settings:
id: ''
classes: ''
description: 'For use in feeds and content listings.'
open: true
required_fields: true
weight: 0
label: 'Summary fields'
id: node.az_event.default
targetEntityType: node
bundle: az_event
mode: default
content:
created:
type: datetime_timestamp
weight: 2
region: content
settings: { }
third_party_settings: { }
field_az_attachments:
weight: 14
settings:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
field_az_body:
weight: 12
settings:
rows: 9
placeholder: ''
third_party_settings: { }
type: text_textarea
region: content
field_az_contacts:
type: entity_reference_paragraphs
weight: 16
settings:
title: Contact
title_plural: Contacts
edit_mode: open
add_mode: dropdown
form_display_mode: default
default_paragraph_type: _none
third_party_settings: { }
region: content
field_az_event_category:
weight: 9
settings: { }
third_party_settings: { }
type: options_select
region: content
field_az_event_date:
weight: 11
settings:
show_extra: false
modal: false
default_duration: 60
default_duration_increments: |-
30
60|1 hour
90
120|2 hours
custom
hide_date: true
third_party_settings:
smart_date_recur:
modal: true
allowed_recur_freq_values:
DAILY: DAILY
WEEKLY: WEEKLY
MONTHLY: MONTHLY
YEARLY: YEARLY
MINUTELY: '0'
HOURLY: '0'
type: smartdate_default
region: content
field_az_link:
weight: 27
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
type: link_default
region: content
field_az_location:
weight: 13
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
type: link_default
region: content
field_az_metatag:
type: metatag_firehose
weight: 17
region: content
settings:
sidebar: true
third_party_settings: { }
field_az_photos:
type: media_library_widget
weight: 10
settings:
media_types: { }
third_party_settings: { }
region: content
field_az_subheading:
weight: 8
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: text_textfield
region: content
field_az_summary:
weight: 28
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: text_textarea
region: content
path:
type: path
weight: 5
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
settings:
display_label: true
weight: 3
region: content
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 7
region: content
third_party_settings: { }
sticky:
type: boolean_checkbox
settings:
display_label: true
weight: 4
region: content
third_party_settings: { }
title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 1
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
match_limit: 10
region: content
third_party_settings: { }
url_redirects:
weight: 6
region: content
settings: { }
third_party_settings: { }
hidden: { }
Loading

0 comments on commit 2c33003

Please sign in to comment.