Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
22.06 KB
MD5: 393d910542aa3dd374c669441bcc4dd2
SHA-1: d64fe0dedb6893a3db89276060ed24a934667fbe
SHA-256: 0f0dcfa1bb2ac8fcadc8f97f822de67506a48fa942e22db1fd5c1f4d32930f7d
Download zip
42.26 KB
MD5: 927c6f9f15efc22768f36eac7e7c14e7
SHA-1: db24c08c2acf61e2d42eee027f80f84158b8b8b8
SHA-256: 7fe10adcf61fd77748ac8d5a6b88de32c72daadd0200ea1d48b71bd47ffa677f
Release notes
Maintenance release for Drupal 11.4 and Drupal 12 compatibility. Sites running on Drupal 11.4 should update to this release.
Contributors (2)
Fixed
- PHP fatal error on Drupal 11.4. The responsive slider formatter redeclared the
fileUrlGeneratorproperty without a type, which clashed with the now typed property on the parentResponsiveImageFormatter. The property is typed to match, so the module loads again on 11.4. #3610723: PHP fatal on Drupal 11.4: Type of ImageCompareSliderResponsiveFormatter::$fileUrlGenerator must be FileUrlGeneratorInterface
Drupal 12 readiness
- The responsive formatters no longer call the procedural
_responsive_image_build_source_attributes(), which is removed in Drupal 12. They now use theResponsiveImageBuilderservice on Drupal 11.3 and later, and fall back to the procedural helper on Drupal 10 and 11.0 to 11.2, so every supported version keeps working. A kernel test covers the rendered source elements. #3610759: Fix the CI warnings: stylelint hsl() alias and the Drupal 12 responsive image source-attributes builder