function ResponsiveImageStyleInterface::isEmptyImageStyleMapping
Same name in other branches
- 9 core/modules/responsive_image/src/ResponsiveImageStyleInterface.php \Drupal\responsive_image\ResponsiveImageStyleInterface::isEmptyImageStyleMapping()
- 8.9.x core/modules/responsive_image/src/ResponsiveImageStyleInterface.php \Drupal\responsive_image\ResponsiveImageStyleInterface::isEmptyImageStyleMapping()
- 11.x core/modules/responsive_image/src/ResponsiveImageStyleInterface.php \Drupal\responsive_image\ResponsiveImageStyleInterface::isEmptyImageStyleMapping()
Checks if there is at least one image style mapping defined.
Parameters
array $image_style_mapping: The image style mapping.
Return value
bool Whether the image style mapping is empty.
1 method overrides ResponsiveImageStyleInterface::isEmptyImageStyleMapping()
- ResponsiveImageStyle::isEmptyImageStyleMapping in core/
modules/ responsive_image/ src/ Entity/ ResponsiveImageStyle.php - Checks if there is at least one image style mapping defined.
File
-
core/
modules/ responsive_image/ src/ ResponsiveImageStyleInterface.php, line 129
Class
- ResponsiveImageStyleInterface
- Provides an interface defining a responsive_image mapping entity.
Namespace
Drupal\responsive_imageCode
public static function isEmptyImageStyleMapping(array $image_style_mapping);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.