You are here

function swftools_field_formatter_info in SWF Tools 6.3

Same name and namespace in other branches
  1. 6.2 swftools.module \swftools_field_formatter_info()

Implementation of hook_field_formatter_info().

File

./swftools.module, line 1437
The primary component of SWF Tools that enables comprehensive media handling.

Code

function swftools_field_formatter_info() {
  return array(
    'swftools_no_file' => array(
      'label' => t('SWF Tools - no download link'),
      'field types' => array(
        'filefield',
        'link',
        'text',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
    'swftools_playlist' => array(
      'label' => t('SWF Tools - playlist'),
      'field types' => array(
        'filefield',
        'link',
        'text',
      ),
      'multiple values' => CONTENT_HANDLE_MODULE,
    ),
    'swftools' => array(
      'label' => t('SWF Tools - with download link'),
      'field types' => array(
        'filefield',
        'link',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
    'swftools_thumbnail' => array(
      'label' => t('SWF Tools - thumbnail'),
      'field types' => array(
        'filefield',
        'link',
        'text',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
    ),
  );
}