You are here

function resp_img_theme in Responsive images and styles 7.2

Same name and namespace in other branches
  1. 8 resp_img.module \resp_img_theme()

Implements hook_theme().

File

./resp_img.module, line 154

Code

function resp_img_theme() {
  return array(
    'picture' => array(
      'variables' => array(
        'style_name' => NULL,
        'path' => NULL,
        'width' => NULL,
        'height' => NULL,
        'alt' => '',
        'title' => NULL,
        'attributes' => array(),
        'breakpoints' => array(),
      ),
    ),
    'picture_formatter' => array(
      'variables' => array(
        'item' => NULL,
        'path' => NULL,
        'image_style' => NULL,
        'breakpoints' => array(),
      ),
    ),
    'colorbox_picture_formatter' => array(
      'variables' => array(
        'item' => NULL,
        'node' => NULL,
        'field' => array(),
        'display_settings' => array(),
        'breakpoints' => array(),
      ),
    ),
    'colorbox_picturefield' => array(
      'variables' => array(
        'image' => array(),
        'path' => NULL,
        'title' => NULL,
        'gid' => NULL,
        'breakpoints' => array(),
      ),
    ),
  );
}