Commit 543760f0 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-4054: adding caption to the image media type

parent 5d4f81d7
......@@ -3,6 +3,7 @@ status: true
dependencies:
config:
- field.field.media.uw_mt_image.field_media_image
- field.field.media.uw_mt_image.field_uw_image_caption
- image.style.thumbnail
- media.type.uw_mt_image
module:
......@@ -47,6 +48,14 @@ content:
attach_mode: move
type: image_widget_crop
region: content
field_uw_image_caption:
weight: 26
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: string_textarea
region: content
name:
type: string_textfield
weight: 0
......
......@@ -3,6 +3,7 @@ status: true
dependencies:
config:
- field.field.media.uw_mt_image.field_media_image
- field.field.media.uw_mt_image.field_uw_image_caption
- media.type.uw_mt_image
- responsive_image.styles.uw_ris_media
module:
......@@ -29,6 +30,13 @@ content:
fences_label_classes: ''
type: responsive_image
region: content
field_uw_image_caption:
weight: 1
label: hidden
settings: { }
third_party_settings: { }
type: basic_string
region: content
hidden:
created: true
langcode: true
......
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_uw_image_caption
- media.type.uw_mt_image
module:
- require_on_publish
third_party_settings:
require_on_publish:
require_on_publish: false
id: media.uw_mt_image.field_uw_image_caption
field_name: field_uw_image_caption
entity_type: media
bundle: uw_mt_image
label: Caption
description: 'Enter a caption to be displayed with the image.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string_long
langcode: en
status: true
dependencies:
module:
- media
id: media.field_uw_image_caption
field_name: field_uw_image_caption
entity_type: media
type: string_long
settings:
case_sensitive: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
langcode: en
status: true
dependencies: { }
id: uw_mt_file
label: File
description: 'A variety of document types that can be linked to in content.'
......
langcode: en
status: true
dependencies: { }
id: uw_mt_icon
label: Icon
description: Icons
......
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