function ResponsiveImageStyle::hasImageStyleMappings
Same name in other branches
- 9 core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php \Drupal\responsive_image\Entity\ResponsiveImageStyle::hasImageStyleMappings()
- 8.9.x core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php \Drupal\responsive_image\Entity\ResponsiveImageStyle::hasImageStyleMappings()
- 11.x core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php \Drupal\responsive_image\Entity\ResponsiveImageStyle::hasImageStyleMappings()
Overrides ResponsiveImageStyleInterface::hasImageStyleMappings
File
-
core/
modules/ responsive_image/ src/ Entity/ ResponsiveImageStyle.php, line 168
Class
- ResponsiveImageStyle
- Defines the responsive image style entity.
Namespace
Drupal\responsive_image\EntityCode
public function hasImageStyleMappings() {
$mappings = $this->getKeyedImageStyleMappings();
return !empty($mappings);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.