You are here

public function ResponsiveImageStyleInterface::getImageStyleMappings in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 54
Contains \Drupal\responsive_image\ResponsiveImageStyleInterface.

Class

ResponsiveImageStyleInterface
Provides an interface defining a responsive_image mapping entity.

Namespace

Drupal\responsive_image

Code

public function getImageStyleMappings();