function picture_theme in Picture 7
Same name and namespace in other branches
- 8 picture.module \picture_theme()
- 7.2 picture.module \picture_theme()
Implements hook_theme().
File
- ./
picture.module, line 318 - Picture formatter.
Code
function picture_theme() {
return array(
'picture' => array(
'variables' => array(
'style_name' => NULL,
'path' => NULL,
'uri' => NULL,
'width' => NULL,
'height' => NULL,
'alt' => '',
'title' => NULL,
'attributes' => array(),
'breakpoints' => array(),
),
),
'picture_formatter' => array(
'variables' => array(
'item' => NULL,
'path' => NULL,
'image_style' => NULL,
'attributes' => array(),
'breakpoints' => array(),
),
),
'picture_formatter_colorbox' => array(
'variables' => array(
'item' => NULL,
'path' => NULL,
'image_style' => NULL,
'breakpoints' => array(),
'colorbox_group' => array(),
'colorbox_image_style' => NULL,
'colorbox_group_id' => NULL,
'colorbox_caption' => NULL,
),
),
'picture_source' => array(
'variables' => array(
'src' => NULL,
'dimension' => NULL,
'media' => NULL,
),
),
);
}