function jssor_theme in Jssor Slider 8
Same name and namespace in other branches
- 7 jssor.module \jssor_theme()
Implements hook_theme().
File
- ./
jssor.module, line 11 - Allows support of a new view handler.
Code
function jssor_theme() {
return array(
'views_view_jssor' => array(
'variables' => array(
'view' => NULL,
'rows' => NULL,
),
'file' => 'jssor.theme.inc',
),
'views_view_jssor_row' => array(
'variables' => array(
'view' => NULL,
'rows' => NULL,
),
'file' => 'jssor.theme.inc',
),
'images_jssor_formatter' => array(
'render element' => 'element',
'file' => 'jssor.theme.inc',
),
'image_jssor_formatter' => array(
'variables' => array(
'item' => NULL,
'item_attributes' => NULL,
'url' => NULL,
'image_style' => NULL,
'caption' => FALSE,
),
'file' => 'jssor.theme.inc',
),
);
}