You are here

function emaudio_field_formatter_info in Embedded Media Field 5

Same name and namespace in other branches
  1. 6.3 contrib/emaudio/emaudio.module \emaudio_field_formatter_info()
  2. 6 contrib/emaudio/emaudio.module \emaudio_field_formatter_info()
  3. 6.2 contrib/emaudio/emaudio.module \emaudio_field_formatter_info()

Implementation of hook_field_formatter_info *

File

contrib/emaudio/emaudio.module, line 105

Code

function emaudio_field_formatter_info() {
  $types = array(
    'emaudio',
  );
  $formats = array(
    'default' => array(
      'label' => t('Default'),
      'field types' => $types,
    ),
    'audio_audio' => array(
      'label' => t('Full Size Audio Player'),
      'field types' => $types,
    ),
    'emaudio_preview' => array(
      'label' => t('Preview Size Audio Player'),
      'field types' => $types,
    ),
    'emaudio_thumbnail' => array(
      'label' => t('Image Thumbnail'),
      'field types' => $types,
    ),
    'emaudio_embed' => array(
      'label' => t('Embed Code'),
      'field types' => $types,
    ),
  );
  return $formats;
}