You are here

function imagefield_widget_info in ImageField 5

Same name and namespace in other branches
  1. 5.2 imagefield.module \imagefield_widget_info()
  2. 6.3 imagefield.module \imagefield_widget_info()

Implementation of hook_widget_info().

File

./imagefield.module, line 226
Defines an image field type. imagefield uses content.module to store the fid, and the drupal files table to store the actual file data.

Code

function imagefield_widget_info() {
  return array(
    'image' => array(
      'label' => 'Image',
      'field types' => array(
        'image',
      ),
    ),
  );
}