You are here

function template_preprocess_blazy in Blazy 8.2

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

Prepares variables for blazy.html.twig templates.

File

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

Code

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