By berdir on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.3.x
Introduced in version:
11.3.0
Issue links:
Description:
The following functions are replaced with methods on the class/service \Drupal\responsive_image\ResponsiveImageBuilder
| Before | After |
|---|---|
_responsive_image_build_source_attributes() |
\Drupal::service(ResponsiveImageBuilder::class)->buildSourceAttributes() |
responsive_image_get_image_dimensions() |
\Drupal::service(ResponsiveImageBuilder::class)->getImageDimensions() |
responsive_image_get_mime_type() |
\Drupal::service(ResponsiveImageBuilder::class)->getMimeType() |
_responsive_image_image_style_url() |
\Drupal::service(ResponsiveImageBuilder::class)->getImageStyleUrl() |
Impacts:
Module developers