You are here

function supersized_field_formatter_info in Supersized 8

Same name and namespace in other branches
  1. 7 supersized.field.inc \supersized_field_formatter_info()

Implements hook_field_formatter_info().

File

./supersized.field.inc, line 523
Implement an image field, based on the file module's file field.

Code

function supersized_field_formatter_info() {
  $formatters = array(
    'supersized' => array(
      'label' => t('Supersized'),
      'field types' => array(
        'supersized',
      ),
      'settings' => array(
        'image_style' => 'supersized',
      ),
    ),
    'supersized_image' => array(
      'label' => t('Image'),
      'field types' => array(
        'supersized',
      ),
      'settings' => array(
        'image_style' => '',
      ),
    ),
  );
  return $formatters;
}