function widgets_theme in Widgets 7
Implements hook_theme().
File
- ./
widgets.module, line 226 - Exposes global functionality for creating widget sets.
Code
function widgets_theme() {
return array(
// Theme functions in widget.module.
'widgets_set' => array(
'variables' => array(
'set_name' => NULL,
'path' => NULL,
'width' => NULL,
'height' => NULL,
'alt' => '',
'title' => NULL,
'attributes' => array(),
),
),
// Theme functions in widget.admin.inc.
'widgets_set_list' => array(
'variables' => array(
'sets' => NULL,
),
),
'widgets_set_elements' => array(
'render element' => 'form',
),
'widgets_set_view' => array(
'variables' => array(
'set' => NULL,
),
),
'widgets_definition_list' => array(
'variables' => array(
'definitions' => NULL,
),
),
'widgets_element_view' => array(
'variables' => array(
'element' => NULL,
),
),
);
}