function imagefield_widget_info in ImageField 5.2
Same name and namespace in other branches
- 5 imagefield.module \imagefield_widget_info()
- 6.3 imagefield.module \imagefield_widget_info()
Implementation of hook_widget_info().
File
- ./
imagefield.module, line 402 - 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',
),
),
);
}