You are here

public function ResponsiveImageStyle::getFallbackImageStyle in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php \Drupal\responsive_image\Entity\ResponsiveImageStyle::getFallbackImageStyle()

Returns the fallback image style ID for the responsive image style.

Return value

string The fallback image style ID.

Overrides ResponsiveImageStyleInterface::getFallbackImageStyle

1 call to ResponsiveImageStyle::getFallbackImageStyle()
ResponsiveImageStyle::getImageStyleIds in core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php
Gets all the image styles IDs involved in the responsive image mapping.

File

core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php, line 188
Contains \Drupal\responsive_image\Entity\ResponsiveImageStyle.

Class

ResponsiveImageStyle
Defines the responsive image style entity.

Namespace

Drupal\responsive_image\Entity

Code

public function getFallbackImageStyle() {
  return $this->fallback_image_style;
}