You are here

function lazy_theme in Lazy-load 7

Implements hook_theme().

File

./lazy.module, line 434
Module file for Lazy-load.

Code

function lazy_theme() {
  return array(
    'lazy_image' => array(
      'variables' => array(
        'style_name' => NULL,
        'path' => NULL,
        'width' => NULL,
        'height' => NULL,
        'alt' => '',
        'title' => NULL,
        'attributes' => array(),
      ),
    ),
    'lazy_image_formatter' => array(
      'variables' => array(
        'item' => NULL,
        'path' => NULL,
        'image_style' => NULL,
      ),
    ),
  );
}