Skip to content

Commit

Permalink
Merge pull request #34 from openeuropa/OPENEUROPA-1600
Browse files Browse the repository at this point in the history
OPENEUROPA-1600: Improving media entity form consistency.
  • Loading branch information
upchuk authored Feb 26, 2019
2 parents bbeee93 + 599cf9a commit 52ba409
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 51 deletions.
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

0 comments on commit 52ba409

Please sign in to comment.