ResponsiveImageStyle::getImageStyleMappings

public ResponsiveImageStyle::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

Overrides ResponsiveImageStyleInterface::getImageStyleMappings

File

core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php, line 148

Class

ResponsiveImageStyle
Defines the responsive image style entity.

Namespace

Drupal\responsive_image\Entity

Code

public function getImageStyleMappings() {
  return $this->image_style_mappings;
}
doc_Drupal
2016-10-29 09:38:00
Comments
Leave a Comment

Please login to continue.