public ResponsiveImageStyle::removeImageStyleMappings()
Removes all image style mappings from the responsive image style.
Return value
$this
Overrides ResponsiveImageStyleInterface::removeImageStyleMappings
File
- core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php, line 190
Class
- ResponsiveImageStyle
- Defines the responsive image style entity.
Namespace
Drupal\responsive_image\Entity
Code
public function removeImageStyleMappings() { $this->image_style_mappings = array(); $this->keyedImageStyleMappings = NULL; return $this; }
Please login to continue.