public function ResponsiveImageStyle::setFallbackImageStyle in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 180 - Contains \Drupal\responsive_image\Entity\ResponsiveImageStyle.
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;
}