You are here

function blazy_pre_render_build in Blazy 7

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

1 string reference to 'blazy_pre_render_build'
BlazyManager::build in src/BlazyManager.php
Returns the entire contents using theme_field(), or theme_item_list().

File

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

Code

function blazy_pre_render_build($element) {
  return blazy()
    ->preRenderBuild($element);
}