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