You are here

public function ResponsiveImageStyleInterface::setFallbackImageStyle in Drupal 8

Same name and namespace in other branches
  1. 9 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_image

Code

public function setFallbackImageStyle($fallback_image_style);