You are here

function textimage_field_formatter_info in Textimage 7.3

Same name and namespace in other branches
  1. 5.2 textimage.module \textimage_field_formatter_info()
  2. 6.2 textimage.module \textimage_field_formatter_info()
  3. 7.2 textimage.module \textimage_field_formatter_info()

Implements hook_field_formatter_info().

File

./textimage.module, line 418
Textimage - Provides text to image manipulations.

Code

function textimage_field_formatter_info() {
  $formatters = array(
    'textimage' => array(
      'label' => t('Textimage'),
      'description' => t('Textimage formatter'),
      'field types' => array(
        'image',
        'text',
        'text_with_summary',
        'text_long',
      ),
      'settings' => array(
        'image_style' => '',
        'image_text_values' => 'merge',
        'image_link' => '',
        'image_alt' => '',
        'image_title' => '',
      ),
    ),
  );
  return $formatters;
}