Skip to content
Snippets Groups Projects
Unverified Commit 1420393a authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2993367 hotfix: Add the migration from D7 Picture to Responsive Image

parent db46062d
Branches
Tags
8 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!1012Issue #3226887: Hreflang on non-canonical content pages,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10,!596Issue #3046532: deleting an entity reference field, used in a contextual view, makes the whole site unrecoverable,!496Issue #2463967: Use .user.ini file for PHP settings,!144Issue #2666286: Clean up menu_ui to conform to Drupal coding standards,!16Draft: Resolve #2081585 "History storage",!13Resolve #2903456
......@@ -10,7 +10,7 @@
*
* Breakpoints are YAML files in Drupal 8. If you have a custom
* theme and want to migrate its responsive image styles to
* Drupal 8, create the respective yourtheme.breakpoints.yml file at
* Drupal 8, create the respective your_theme.breakpoints.yml file at
* the root of the theme.
*
* @see https://www.drupal.org/docs/8/theming-drupal-8/working-with-breakpoints-in-drupal-8
......
......@@ -29,7 +29,7 @@ public function providerSource() {
'label' => 'Narrow',
'machine_name' => 'narrow',
'breakpoint_group' => 'responsive_image',
'mapping' => 'a:2:{s:38:"breakpoints.theme.my_theme_id.computer";a:3:{s:12:"multiplier_1";a:2:{s:12:"mapping_type";s:11:"image_style";s:11:"image_style";s:20:"custom_image_style_1";}s:12:"multiplier_2";a:3:{s:12:"mapping_type";s:5:"sizes";s:5:"sizes";i:2;s:18:"sizes_image_styles";a:2:{i:0;s:20:"custom_image_style_1";i:1;s:20:"custom_image_style_2";}}s:12:"multiplier_3";a:1:{s:12:"mapping_type";s:5:"_none";}}s:41:"breakpoints.theme.my_theme_id.computertwo";a:1:{s:12:"multiplier_2";a:3:{s:12:"mapping_type";s:5:"sizes";s:5:"sizes";i:2;s:18:"sizes_image_styles";a:2:{i:0;s:20:"custom_image_style_1";i:1;s:20:"custom_image_style_2";}}}}',
'mapping' => 'a:2:{s:38:"breakpoints.theme.my_theme_id.computer";a:3:{s:12:"multiplier_1";a:2:{s:12:"mapping_type";s:11:"image_style";s:11:"image_style";s:20:"custom_image_style_1";}s:12:"multiplier_2";a:3:{s:12:"mapping_type";s:5:"sizes";s:5:"sizes";i:2;s:18:"sizes_image_styles";a:2:{i:0;s:20:"custom_image_style_1";i:1;s:20:"custom_image_style_2";}}s:12:"multiplier_3";a:1:{s:12:"mapping_type";s:5:"_none";}}s:42:"breakpoints.theme.my_theme_id.computer_two";a:1:{s:12:"multiplier_2";a:3:{s:12:"mapping_type";s:5:"sizes";s:5:"sizes";i:2;s:18:"sizes_image_styles";a:2:{i:0;s:20:"custom_image_style_1";i:1;s:20:"custom_image_style_2";}}}}',
],
];
......@@ -62,7 +62,7 @@ public function providerSource() {
'mapping_type' => '_none',
],
],
'breakpoints.theme.my_theme_id.computertwo' =>
'breakpoints.theme.my_theme_id.computer_two' =>
[
'multiplier_2' =>
[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment