You are here

function soundcloudfield_field_formatter_info in SoundCloud field 6

Same name and namespace in other branches
  1. 7 soundcloudfield.module \soundcloudfield_field_formatter_info()

Implementation of hook_field_formatter_info().

File

./soundcloudfield.module, line 300
SoundCloud CCK field.

Code

function soundcloudfield_field_formatter_info() {
  return array(
    'default' => array(
      'label' => t('Flash player'),
      'field types' => array(
        'soundcloudfield',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
    'html5' => array(
      'label' => t('HTML5 player'),
      'field types' => array(
        'soundcloudfield',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
    'visual' => array(
      'label' => t('Visual player'),
      'field types' => array(
        'soundcloudfield',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
    'link' => array(
      'label' => t('Link'),
      'field types' => array(
        'soundcloudfield',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
  );
}