public function ResponsiveImageStyle::getFallbackImageStyle in Drupal 9
Same name and namespace in other branches
- 8 core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php \Drupal\responsive_image\Entity\ResponsiveImageStyle::getFallbackImageStyle()
- 10 core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php \Drupal\responsive_image\Entity\ResponsiveImageStyle::getFallbackImageStyle()
Returns the fallback image style ID for the responsive image style.
Return value
string The fallback image style ID.
Overrides ResponsiveImageStyleInterface::getFallbackImageStyle
1 call to ResponsiveImageStyle::getFallbackImageStyle()
- ResponsiveImageStyle::getImageStyleIds in core/
modules/ responsive_image/ src/ Entity/ ResponsiveImageStyle.php - Gets all the image styles IDs involved in the responsive image mapping.
File
- core/
modules/ responsive_image/ src/ Entity/ ResponsiveImageStyle.php, line 197
Class
- ResponsiveImageStyle
- Defines the responsive image style entity.
Namespace
Drupal\responsive_image\EntityCode
public function getFallbackImageStyle() {
return $this->fallback_image_style;
}