function finder_optionwidgets_theme in Finder 6
Same name and namespace in other branches
- 7 modules/finder_optionwidgets/finder_optionwidgets.module \finder_optionwidgets_theme()
Implementation of hook_theme().
See also
File
- modules/
finder_optionwidgets/ finder_optionwidgets.module, line 256 - The finder optionwidgets module.
Code
function finder_optionwidgets_theme() {
$theme = array();
$types = array(
'option',
'value',
);
$widgets = array(
'select',
'buttons',
'onoff',
);
foreach ($types as $type) {
foreach ($widgets as $widget) {
$theme['finder_optionwidgets_' . $widget . '_' . $type] = array(
'arguments' => array(
'option' => NULL,
'element' => NULL,
),
);
}
}
return $theme;
}