function image_field_formatter_info

7.x image.field.inc image_field_formatter_info()

Implements hook_field_formatter_info().

File

drupal/modules/image/image.field.inc, line 479
Implement an image field, based on the file module's file field.

Code

function image_field_formatter_info() {
  $formatters = array(
    'image' => array(
      'label' => t('Image'),
      'field types' => array('image'),
      'settings' => array(
        'image_style' => '',
        'image_link' => '',
      ),
    ),
  );

  return $formatters;
}