You are here

function emaudio_field_formatter_info in Embedded Media Field 6.3

Same name and namespace in other branches
  1. 5 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 96
Embedded Audio module is a handler for mp3 and similar audio files, hosted on 3rd party sites.

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,
    ),
    'audio_preview' => array(
      'label' => t('Preview Size Audio Player'),
      'field types' => $types,
    ),
    'audio_thumbnail' => array(
      'label' => t('Image Thumbnail'),
      'field types' => $types,
    ),
    'audio_embed' => array(
      'label' => t('Embed Code'),
      'field types' => $types,
    ),
  );
  return $formats;
}