You are here

public static function BlazyInterface::buildResponsiveImage in Blazy 8.2

Modifies variables for responsive image.

Responsive images with height and width save a lot of calls to image.factory service for every image and breakpoint in _responsive_image_build_source_attributes(). Very necessary for external file system like Amazon S3.

Parameters

array $variables: The variables being modified.

1 method overrides BlazyInterface::buildResponsiveImage()
Blazy::buildResponsiveImage in src/Blazy.php
Modifies variables for responsive image.

File

src/BlazyInterface.php, line 69

Class

BlazyInterface
Provides common blazy utility static methods.

Namespace

Drupal\blazy

Code

public static function buildResponsiveImage(array &$variables);