function imagefield_field_info in ImageField 5
Same name and namespace in other branches
- 5.2 imagefield.module \imagefield_field_info()
 
Implementation of hook_field_info().
File
- ./
imagefield.module, line 61  - 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_field_info() {
  return array(
    'image' => array(
      'label' => 'Image',
    ),
  );
}