function optionwidgets_theme in Content Construction Kit (CCK) 6
Same name and namespace in other branches
- 6.3 modules/optionwidgets/optionwidgets.module \optionwidgets_theme()
- 6.2 modules/optionwidgets/optionwidgets.module \optionwidgets_theme()
Implementation of hook_theme().
File
- modules/
optionwidgets/ optionwidgets.module, line 27 - Defines selection, check box and radio button widgets for text and numeric fields.
Code
function optionwidgets_theme() {
return array(
'optionwidgets_select' => array(
'arguments' => array(
'element' => NULL,
),
),
'optionwidgets_buttons' => array(
'arguments' => array(
'element' => NULL,
),
),
'optionwidgets_onoff' => array(
'arguments' => array(
'element' => NULL,
),
),
'optionwidgets_none' => array(
'arguments' => array(
'widget_type' => NULL,
'field_name' => NULL,
'node_type' => NULL,
),
),
);
}