You are here

function imceimage_widget_info in Imce CCK Image 6.2

Same name and namespace in other branches
  1. 6 imceimage.module \imceimage_widget_info()

Implements hook_widget_info()

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

./imceimage.module, line 201

Code

function imceimage_widget_info() {
  return array(
    'imceimage' => array(
      'label' => 'IMCE Image',
      'field types' => array(
        'imceimage',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
      'callbacks' => array(
        'default value' => CONTENT_CALLBACK_DEFAULT,
      ),
    ),
  );
}