function ResponsiveImageStyle::removeImageStyleMappings
Same name in other branches
- 9 core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php \Drupal\responsive_image\Entity\ResponsiveImageStyle::removeImageStyleMappings()
- 8.9.x core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php \Drupal\responsive_image\Entity\ResponsiveImageStyle::removeImageStyleMappings()
- 10 core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php \Drupal\responsive_image\Entity\ResponsiveImageStyle::removeImageStyleMappings()
Overrides ResponsiveImageStyleInterface::removeImageStyleMappings
1 call to ResponsiveImageStyle::removeImageStyleMappings()
- ResponsiveImageStyle::setBreakpointGroup in core/
modules/ responsive_image/ src/ Entity/ ResponsiveImageStyle.php - Sets the breakpoint group for the responsive image style.
File
-
core/
modules/ responsive_image/ src/ Entity/ ResponsiveImageStyle.php, line 222
Class
- ResponsiveImageStyle
- Defines the responsive image style entity.
Namespace
Drupal\responsive_image\EntityCode
public function removeImageStyleMappings() {
$this->image_style_mappings = [];
$this->keyedImageStyleMappings = NULL;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.