ResponsiveImageStyle::setFallbackImageStyle

public ResponsiveImageStyle::setFallbackImageStyle($fallback_image_style)

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 175

Class

ResponsiveImageStyle
Defines the responsive image style entity.

Namespace

Drupal\responsive_image\Entity

Code

public function setFallbackImageStyle($fallback_image_style) {
  $this->fallback_image_style = $fallback_image_style;
  return $this;
}
doc_Drupal
2016-10-29 09:38:01
Comments
Leave a Comment

Please login to continue.