Update drowl media types responsive image styles & references

Created on 25 March 2024, 9 months ago
Updated 8 May 2024, 8 months ago

Problem/Motivation

Responsive image style machine names were cleanly renamed in D11 template, so presumably we should also update this in the config of the submodule:

  • viewport_width => viewport_width_crop
  • page_width => page_width_crop

The old names were used in:

  • core.entity_view_display.media.image.background
  • core.entity_view_display.media.slide.viewport_width
  • core.entity_view_display.media.slide.default

So the setting and the dependency need to be updated in there.

Steps to reproduce

Proposed resolution

  • Replace the exact old names with the new names in the referencing entities or replace the whole .yml files of these
  • Replace the new responsive image style exports
  • Test if installation works

Remaining tasks

[x] Create configuration in Vorlage and as ymls in 📌 [Meta] 4.x config changes Active (Major)
[ ] Create an update hook to import the settings for the 3.x to 4.x update (minor). Note: The changes were made in our Vorlage (D11) already, so the update hook shouldn't break anything and ensure the transition from 3.x to 4.x will work for existing projects.

User interface changes

API changes

Data model changes

📌 Task
Status

Needs work

Version

4.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024