You are here

function cck_time_widget_info in CCK Time 5

Same name and namespace in other branches
  1. 6 cck_time.module \cck_time_widget_info()

Declare information about a widget.

Return value

An array keyed by widget name. Each element of the array is an associative array with these keys and values:

  • "label": The human-readable label for the widget.
  • "field types": An array of field type names that can be edited using this widget.

File

./cck_time.module, line 21

Code

function cck_time_widget_info() {
  return array(
    'cck_time' => array(
      'label' => 'Time',
      'field types' => array(
        'text',
      ),
    ),
  );
}