You are here

function blazy_pre_render in Blazy 7

Builds the image as a structured array ready for drupal_render().

1 string reference to 'blazy_pre_render'
BlazyManager::getBlazy in src/BlazyManager.php
Returns the enforced content, or image using theme_blazy().

File

./blazy.runtime.inc, line 86
Provides basic Blazy integration for lazy loading and multi-serving images.

Code

function blazy_pre_render($element) {
  return blazy()
    ->preRender($element);
}