function ResponsiveImageStyleInterface::addImageStyleMapping
Adds an image style mapping to the responsive image configuration entity.
Parameters
string $breakpoint_id: The breakpoint ID.
string $multiplier: The multiplier.
array $image_style_mapping: The mapping image style mapping.
Return value
$this
1 method overrides ResponsiveImageStyleInterface::addImageStyleMapping()
- ResponsiveImageStyle::addImageStyleMapping in core/
modules/ responsive_image/ src/ Entity/ ResponsiveImageStyle.php - Adds an image style mapping to the responsive image configuration entity.
File
-
core/
modules/ responsive_image/ src/ ResponsiveImageStyleInterface.php, line 143
Class
- ResponsiveImageStyleInterface
- Provides an interface defining a responsive_image mapping entity.
Namespace
Drupal\responsive_imageCode
public function addImageStyleMapping($breakpoint_id, $multiplier, array $image_style_mapping);