You are here

function imagefield_field_formatter_info in ImageField 5

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

Implementation of hook_field_formatter_info().

File

./imagefield.module, line 563
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_formatter_info() {
  $formatters = array(
    'default' => array(
      'label' => 'Default',
      'field types' => array(
        'image',
      ),
    ),
  );
  return $formatters;
}