Skip to content
Snippets Groups Projects
Commit b8955b7f authored by Pamela Barone's avatar Pamela Barone Committed by Adam G-H
Browse files

Issue #3489120 by pameeela, tonypaulbarker: Restore the name field on media entity forms

parent 56f22d30
Branches
Tags
1 merge request!406Resolve #3489120 "Media name"
Pipeline #390786 passed
......@@ -20,6 +20,14 @@ content:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
name:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
status:
type: boolean_checkbox
weight: 4
......@@ -28,7 +36,10 @@ content:
display_label: true
third_party_settings: { }
hidden:
langcode: true
created: true
path: true
publish_on: true
publish_state: true
uid: true
unpublish_on: true
unpublish_state: true
......@@ -15,16 +15,26 @@ mode: media_library
content:
field_media_svg_image:
type: image_image
weight: 0
weight: 1
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
name:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
langcode: true
name: true
path: true
publish_on: true
publish_state: true
status: true
uid: true
unpublish_on: true
unpublish_state: true
......@@ -19,7 +19,8 @@ config:
focal_point: '*'
actions:
core.entity_form_display.media.image.*:
setComponent:
setComponents:
-
name: field_media_image
options:
type: image_focal_point
......@@ -30,6 +31,13 @@ config:
preview_image_style: media_library
preview_link: true
offsets: '50,50'
-
# Enable the name field in the entity form so it can be modified.
name: name
options:
type: string_textfield
weight: -1
region: content
hideComponents:
- uid
- langcode
......
......@@ -13,6 +13,14 @@ config:
- langcode
- path
- created
# Enable the name field in the entity form so it can be modified.
setComponent:
name: name
options:
type: string_textfield
weight: -1
region: content
# These two Klaro apps get automatically enabled as soon as a remote video of the
# respective provider is created as a media entity. This is implemented by ECA with
# the eca.eca.remote_video_consent model, contained in the config directory.
......
......@@ -127,3 +127,11 @@ config:
automatic_updates.settings:
simpleConfigUpdate:
allow_core_minor_updates: true
# Enable the name field in the entity form so it can be modified.
core.entity_form_display.media.document.*:
setComponent:
name: name
options:
type: string_textfield
weight: -1
region: content
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment