Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YSP-751: Add field_metatags to document media type #804

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ status: true
dependencies:
config:
- field.field.media.document.field_media_file
- field.field.media.document.field_metatags
- field.field.media.document.field_tags
- media.type.document
module:
- chosen_field
- file
- metatag
id: media.document.default
targetEntityType: media
bundle: document
Expand All @@ -21,6 +23,14 @@ content:
settings:
progress_indicator: throbber
third_party_settings: { }
field_metatags:
type: metatag_firehose
weight: 3
region: content
settings:
sidebar: true
use_details: true
third_party_settings: { }
field_tags:
type: chosen_select
weight: 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
config:
- core.entity_form_mode.media.media_library
- field.field.media.document.field_media_file
- field.field.media.document.field_metatags
- field.field.media.document.field_tags
- media.type.document
module:
Expand Down Expand Up @@ -38,6 +39,7 @@ content:
third_party_settings: { }
hidden:
created: true
field_metatags: true
path: true
revision_log_message: true
status: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.field.media.document.field_media_file
- field.field.media.document.field_metatags
- field.field.media.document.field_tags
- media.type.document
module:
Expand All @@ -22,6 +23,7 @@ content:
region: content
hidden:
created: true
field_metatags: true
field_tags: true
name: true
search_api_excerpt: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
config:
- core.entity_view_mode.media.media_library
- field.field.media.document.field_media_file
- field.field.media.document.field_metatags
- field.field.media.document.field_tags
- image.style.media_library
- media.type.document
Expand All @@ -29,6 +30,7 @@ content:
hidden:
created: true
field_media_file: true
field_metatags: true
field_tags: true
name: true
search_api_excerpt: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: 83050099-3d5e-4a57-8fd7-2de03f19c507
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_metatags
- media.type.document
module:
- metatag
id: media.document.field_metatags
field_name: field_metatags
entity_type: media
bundle: document
label: Metadata
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,19 @@
uuid: 4511fa41-c7dd-4923-a83f-46385be53ecc
langcode: en
status: true
dependencies:
module:
- media
- metatag
id: media.field_metatags
field_name: field_metatags
entity_type: media
type: metatag
settings: { }
module: metatag
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false