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

1
2
3
public function getImageStyleMappings() {
  return $this->image_style_mappings;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.