public function ResponsiveImageStyleInterface::setFallbackImageStyle in Drupal 9
Same name and namespace in other branches
- 8 core/modules/responsive_image/src/ResponsiveImageStyleInterface.php \Drupal\responsive_image\ResponsiveImageStyleInterface::setFallbackImageStyle()
- 10 core/modules/responsive_image/src/ResponsiveImageStyleInterface.php \Drupal\responsive_image\ResponsiveImageStyleInterface::setFallbackImageStyle()
Sets the fallback image style for the responsive image style.
Parameters
string $fallback_image_style: The fallback image style ID.
Return value
$this
1 method overrides ResponsiveImageStyleInterface::setFallbackImageStyle()
- ResponsiveImageStyle::setFallbackImageStyle in core/
modules/ responsive_image/ src/ Entity/ ResponsiveImageStyle.php - Sets the fallback image style for the responsive image style.
File
- core/
modules/ responsive_image/ src/ ResponsiveImageStyleInterface.php, line 87
Class
- ResponsiveImageStyleInterface
- Provides an interface defining a responsive_image mapping entity.
Namespace
Drupal\responsive_imageCode
public function setFallbackImageStyle($fallback_image_style);