Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ResponsiveImageStyleInterface.php

function 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();
RSS feed
Powered by Drupal