function blazy_preprocess_field in Blazy 8.2
Same name and namespace in other branches
- 8 blazy.module \blazy_preprocess_field()
- 7 blazy.runtime.inc \blazy_preprocess_field()
Implements hook_preprocess_field().
File
- ./
blazy.module, line 74 - Provides basic Blazy integration for lazy loading and multi-serving images.
Code
function blazy_preprocess_field(array &$variables) {
if (isset($variables['element']['#blazy']) || !empty($variables['element']['#third_party_settings']['blazy']['blazy'])) {
Blazy::preprocessField($variables);
}
}