You are here

function optionwidgets_theme in Content Construction Kit (CCK) 6.2

Same name and namespace in other branches
  1. 6.3 modules/optionwidgets/optionwidgets.module \optionwidgets_theme()
  2. 6 modules/optionwidgets/optionwidgets.module \optionwidgets_theme()

Implementation of hook_theme().

File

modules/optionwidgets/optionwidgets.module, line 45
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,
      ),
    ),
  );
}