You are here

public function ResponsiveImageStyleInterface::getImageStyleMappings in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/responsive_image/src/ResponsiveImageStyleInterface.php \Drupal\responsive_image\ResponsiveImageStyleInterface::getImageStyleMappings()
  2. 9 core/modules/responsive_image/src/ResponsiveImageStyleInterface.php \Drupal\responsive_image\ResponsiveImageStyleInterface::getImageStyleMappings()

Returns the image style mappings for the responsive image style.

Return value

array[] An array of image style mappings. Each image style mapping array contains the following keys:

  • breakpoint_id
  • multiplier
  • image_mapping_type
  • image_mapping
1 method overrides ResponsiveImageStyleInterface::getImageStyleMappings()
ResponsiveImageStyle::getImageStyleMappings in core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php
Returns the image style mappings for the responsive image style.

File

core/modules/responsive_image/src/ResponsiveImageStyleInterface.php, line 59

Class

ResponsiveImageStyleInterface
Provides an interface defining a responsive_image mapping entity.

Namespace

Drupal\responsive_image

Code

public function getImageStyleMappings();