function resp_img_theme in Responsive images and styles 8
Same name and namespace in other branches
- 7.2 resp_img.module \resp_img_theme()
Implements hook_theme().
File
- ./
resp_img.module, line 27
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(),
),
),
);
}