function ResponsiveImageStyleInterface::setFallbackImageStyle

Same name in other branches
  1. 9 core/modules/responsive_image/src/ResponsiveImageStyleInterface.php \Drupal\responsive_image\ResponsiveImageStyleInterface::setFallbackImageStyle()
  2. 10 core/modules/responsive_image/src/ResponsiveImageStyleInterface.php \Drupal\responsive_image\ResponsiveImageStyleInterface::setFallbackImageStyle()
  3. 11.x 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.