public function ResponsiveImageStyle::setFallbackImageStyle in Drupal 8
Same name and namespace in other branches
- 9 core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php \Drupal\responsive_image\Entity\ResponsiveImageStyle::setFallbackImageStyle()
Sets the fallback image style for the responsive image style.
Parameters
string $fallback_image_style: The fallback image style ID.
Return value
$this
Overrides ResponsiveImageStyleInterface::setFallbackImageStyle
File
- core/
modules/ responsive_image/ src/ Entity/ ResponsiveImageStyle.php, line 189
Class
- ResponsiveImageStyle
- Defines the responsive image style entity.
Namespace
Drupal\responsive_image\EntityCode
public function setFallbackImageStyle($fallback_image_style) {
$this->fallback_image_style = $fallback_image_style;
return $this;
}