function ResponsiveImageStyleInterface::getImageStyleMappings

Same name in other branches
  1. 9 core/modules/responsive_image/src/ResponsiveImageStyleInterface.php \Drupal\responsive_image\ResponsiveImageStyleInterface::getImageStyleMappings()
  2. 8.9.x core/modules/responsive_image/src/ResponsiveImageStyleInterface.php \Drupal\responsive_image\ResponsiveImageStyleInterface::getImageStyleMappings()
  3. 11.x 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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.