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

OPENEUROPA-1600: Improving media entity form consistency. #34

Merged
merged 1 commit into from
Feb 26, 2019
Merged
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 @@ -26,7 +26,13 @@ content:
third_party_settings: { }
type: file_generic
region: content
status:
type: boolean_checkbox
settings:
display_label: true
weight: 100
region: content
third_party_settings: { }
hidden:
created: true
status: true
uid: true
16 changes: 11 additions & 5 deletions config/install/core.entity_form_display.media.image.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ langcode: en
status: true
dependencies:
config:
- field.field.media.image.oe_media_image
- image.style.thumbnail
- media.type.image
- field.field.media.image.oe_media_image
- image.style.thumbnail
- media.type.image
module:
- image
- image
id: media.image.default
targetEntityType: media
bundle: image
Expand All @@ -28,7 +28,13 @@ content:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
status:
type: boolean_checkbox
weight: 100
region: content
settings:
display_label: true
third_party_settings: { }
hidden:
created: true
status: true
uid: true
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ targetEntityType: media
bundle: remote_video
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
oe_media_oembed_video:
type: oembed_textfield
weight: 0
Expand All @@ -32,14 +26,7 @@ content:
weight: 100
region: content
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
region: content
third_party_settings: { }
hidden:
created: true
name: true
uid: true
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ targetEntityType: media
bundle: av_portal_photo
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
oe_media_avportal_photo:
type: avportal_textfield
weight: 0
Expand All @@ -32,14 +26,7 @@ content:
weight: 100
region: content
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
region: content
third_party_settings: { }
hidden:
created: true
name: true
uid: true
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ targetEntityType: media
bundle: av_portal_video
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
oe_media_avportal_video:
type: avportal_textfield
weight: 0
Expand All @@ -32,14 +26,7 @@ content:
weight: 100
region: content
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
region: content
third_party_settings: { }
hidden:
created: true
name: true
uid: true