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

Digital-119: Configure images #59

Draft
wants to merge 10 commits into
base: develop
Choose a base branch
from
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"drupal/default_content": "^2.0@alpha",
"drupal/disable_user_1_edit": "^1.6",
"drupal/easy_breadcrumb": "^2.0",
"drupal/edit_media_modal": "^2.0",
"drupal/embedded_content": "^2.0",
"drupal/field_group": "^3.6",
"drupal/field_permissions": "^1.3",
Expand All @@ -35,6 +36,7 @@
"drupal/mailsystem": "^4.4",
"drupal/masquerade": "^2.0",
"drupal/maxlength": "^3.1",
"drupal/media_library_edit": "^3.0",
"drupal/memcache": "^2.5",
"drupal/metatag": "^2.1",
"drupal/multivalue_form_element": "@beta",
Expand Down
101 changes: 100 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions composer.log
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,5 @@ a8e36d32c49aca75de1d6f5efc57a38e|Matt Poole|feature/DIGITAL-195-sso-configuratio
375ea7aa8ac9c84f804100548773e80a|Matt Poole|feature/DIGITAL-195-sso-configuration|Thu Dec 5 13:06:09 EST 2024|./composer.sh require drupal/masquerade:^2.0
242e11a4450398bd561ee3cd44612692|Oscar Merida|feature/DIGITAL-37-resource-paragraphs|Thu Dec 5 15:56:55 EST 2024|./composer.sh require drupal/paragraph_view_mode
6666e18e6102d15f7bb8b271da64f9b8|Matt Poole|feature/DIGITAL-37-resource-paragraphs|Tue Dec 10 14:32:53 EST 2024|./composer.sh require drupal/maxlength:^3.1
391e94a75931ce58483b7f4992b5ed10|cathybaptista|feature/DIGITAL-119-configure-images|Wed Dec 11 14:44:08 EST 2024|./composer.sh require drupal/media_library_edit
dc6077d55d62f2f46a59b1f9773a45ab|cathybaptista|feature/DIGITAL-119-configure-images|Wed Dec 11 14:44:17 EST 2024|./composer.sh require drupal/edit_media_modal
5 changes: 3 additions & 2 deletions config/sync/core.entity_form_display.media.image.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ status: true
dependencies:
config:
- field.field.media.image.field_media_image
- image.style.thumbnail
- image.style.responsive_image_set
- media.type.image
module:
- image
- path
id: media.image.default
targetEntityType: media
bundle: image
Expand All @@ -25,7 +26,7 @@ content:
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
preview_image_style: responsive_image_set
third_party_settings: { }
name:
type: string_textfield
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies:
- content_moderation
- maxlength
- media_library
- media_library_edit
- path
- text
id: node.basic_page.default
Expand Down Expand Up @@ -56,7 +57,10 @@ content:
region: content
settings:
media_types: { }
third_party_settings: { }
third_party_settings:
media_library_edit:
show_edit: '1'
edit_form_mode: default
field_page_weight:
type: number
weight: 8
Expand Down Expand Up @@ -119,6 +123,7 @@ content:
settings: { }
third_party_settings: { }
hidden:
field_featured: true
field_slug: true
promote: true
publish_on: true
Expand Down
11 changes: 9 additions & 2 deletions config/sync/core.entity_form_display.node.community.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ dependencies:
- field_group
- maxlength
- media_library
- media_library_edit
- path
- text
third_party_settings:
Expand Down Expand Up @@ -99,7 +100,10 @@ content:
region: content
settings:
media_types: { }
third_party_settings: { }
third_party_settings:
media_library_edit:
show_edit: '1'
edit_form_mode: default
field_dg_shortname:
type: string_textfield
weight: 35
Expand Down Expand Up @@ -128,7 +132,10 @@ content:
region: content
settings:
media_types: { }
third_party_settings: { }
third_party_settings:
media_library_edit:
show_edit: '1'
edit_form_mode: default
field_subscribe_email_subject:
type: string_textfield
weight: 36
Expand Down
5 changes: 4 additions & 1 deletion config/sync/core.entity_form_display.node.event.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ content:
region: content
settings:
media_types: { }
third_party_settings: { }
third_party_settings:
media_library_edit:
show_edit: '1'
edit_form_mode: default
field_host:
type: string_textfield
weight: 10
Expand Down
6 changes: 5 additions & 1 deletion config/sync/core.entity_form_display.node.guides.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ dependencies:
- inline_entity_form
- maxlength
- media_library
- media_library_edit
- path
- text
id: node.guides.default
Expand Down Expand Up @@ -90,7 +91,10 @@ content:
region: content
settings:
media_types: { }
third_party_settings: { }
third_party_settings:
media_library_edit:
show_edit: '1'
edit_form_mode: default
field_summary:
type: text_textarea
weight: 2
Expand Down
11 changes: 9 additions & 2 deletions config/sync/core.entity_form_display.node.news.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ dependencies:
- inline_entity_form
- maxlength
- media_library
- media_library_edit
- path
- text
id: node.news.default
Expand Down Expand Up @@ -79,7 +80,10 @@ content:
region: content
settings:
media_types: { }
third_party_settings: { }
third_party_settings:
media_library_edit:
show_edit: '1'
edit_form_mode: default
field_kicker:
type: string_textfield
weight: 1
Expand All @@ -101,7 +105,10 @@ content:
region: content
settings:
media_types: { }
third_party_settings: { }
third_party_settings:
media_library_edit:
show_edit: '1'
edit_form_mode: default
field_slug:
type: string_textfield
weight: 14
Expand Down
7 changes: 6 additions & 1 deletion config/sync/core.entity_form_display.node.source.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ dependencies:
config:
- field.field.node.source.field_logo
- node.type.source
- workflows.workflow.editorial
module:
- content_moderation
- media_library
- media_library_edit
id: node.source.default
targetEntityType: node
bundle: source
Expand All @@ -25,7 +27,10 @@ content:
region: content
settings:
media_types: { }
third_party_settings: { }
third_party_settings:
media_library_edit:
show_edit: '1'
edit_form_mode: default
moderation_state:
type: moderation_state_default
weight: 4
Expand Down
6 changes: 5 additions & 1 deletion config/sync/core.entity_form_display.node.topics.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ dependencies:
- link
- maxlength
- media_library
- media_library_edit
- paragraphs
- path
- text
Expand Down Expand Up @@ -136,7 +137,10 @@ content:
region: content
settings:
media_types: { }
third_party_settings: { }
third_party_settings:
media_library_edit:
show_edit: '1'
edit_form_mode: default
field_slug:
type: string_textfield
weight: 14
Expand Down
8 changes: 4 additions & 4 deletions config/sync/core.entity_view_display.media.image.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ status: true
dependencies:
config:
- field.field.media.image.field_media_image
- image.style.large
- media.type.image
- responsive_image.styles.brothers
module:
- image
- responsive_image
id: media.image.default
targetEntityType: media
bundle: image
mode: default
content:
field_media_image:
type: image
type: responsive_image
label: visually_hidden
settings:
responsive_image_style: brothers
image_link: ''
image_style: large
image_loading:
attribute: lazy
third_party_settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ content:
third_party_settings: { }
weight: 101
region: content
content_moderation_control:
settings: { }
third_party_settings: { }
weight: -20
region: content
field_deck:
type: text_default
label: above
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ content:
third_party_settings: { }
weight: 101
region: content
content_moderation_control:
settings: { }
third_party_settings: { }
weight: -20
region: content
links:
settings: { }
third_party_settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ content:
third_party_settings: { }
weight: 101
region: content
content_moderation_control:
settings: { }
third_party_settings: { }
weight: -20
region: content
field_deck:
type: text_default
label: above
Expand Down
Loading
Loading