You are here

function template_preprocess_blazy in Blazy 8

Same name and namespace in other branches
  1. 8.2 blazy.module \template_preprocess_blazy()
  2. 7 blazy.theme.inc \template_preprocess_blazy()

Prepares variables for blazy.html.twig templates.

File

./blazy.module, line 39
Provides basic Blazy integration for lazy loading and multi-serving images.

Code

function template_preprocess_blazy(&$variables) {
  Blazy::buildAttributes($variables);
}