You are here

function field_kaltura_field_formatter_info in Kaltura 7.3

Same name and namespace in other branches
  1. 5 plugins/field_kaltura/field_kaltura.module \field_kaltura_field_formatter_info()
  2. 6.2 plugins/field_kaltura/field_kaltura.module \field_kaltura_field_formatter_info()
  3. 6 plugins/field_kaltura/field_kaltura.module \field_kaltura_field_formatter_info()
  4. 7.2 plugins/field_kaltura/field_kaltura.module \field_kaltura_field_formatter_info()

Implements hook_field_formatter_info().

File

plugins/field_kaltura/field_kaltura.module, line 631
Kaltura as a field primary module file.

Code

function field_kaltura_field_formatter_info() {
  return array(
    'field_kaltura_player_default' => array(
      'label' => t('Player with title and description'),
      'field types' => array(
        'field_kaltura_entryid',
      ),
      'settings' => array(
        'thumbsize_width' => NULL,
        'thumbsize_height' => NULL,
        'player_height' => NULL,
        'player_width' => NULL,
        'entry_widget' => NULL,
        'custom_player' => NULL,
        'delivery' => NULL,
        'stretch' => NULL,
        'rotate' => NULL,
      ),
    ),
    'field_kaltura_player' => array(
      'label' => t('Player only'),
      'field types' => array(
        'field_kaltura_entryid',
      ),
      'settings' => array(
        'thumbsize_width' => NULL,
        'thumbsize_height' => NULL,
        'player_height' => NULL,
        'player_width' => NULL,
        'entry_widget' => NULL,
        'custom_player' => NULL,
        'delivery' => NULL,
        'stretch' => NULL,
        'rotate' => NULL,
      ),
    ),
    'field_kaltura_player_title' => array(
      'label' => t('Player and Title'),
      'field types' => array(
        'field_kaltura_entryid',
      ),
      'settings' => array(
        'thumbsize_width' => NULL,
        'thumbsize_height' => NULL,
        'player_height' => NULL,
        'player_width' => NULL,
        'entry_widget' => NULL,
        'custom_player' => NULL,
        'delivery' => NULL,
        'stretch' => NULL,
        'rotate' => NULL,
      ),
    ),
    'field_kaltura_player_meta' => array(
      'label' => t('Player with metadata'),
      'field types' => array(
        'field_kaltura_entryid',
      ),
      'settings' => array(
        'thumbsize_width' => NULL,
        'thumbsize_height' => NULL,
        'player_height' => NULL,
        'player_width' => NULL,
        'entry_widget' => NULL,
        'custom_player' => NULL,
        'delivery' => NULL,
        'stretch' => NULL,
        'rotate' => NULL,
      ),
    ),
    'field_kaltura_thumbnail_only' => array(
      'label' => t('Thumbnail only'),
      'field types' => array(
        'field_kaltura_entryid',
      ),
      'settings' => array(
        'thumbsize_width' => NULL,
        'thumbsize_height' => NULL,
        'player_height' => NULL,
        'player_width' => NULL,
        'delivery' => NULL,
        'stretch' => NULL,
        'rotate' => NULL,
      ),
    ),
    'field_kaltura_thumbnail_title' => array(
      'label' => t('Thumbnail with title'),
      'field types' => array(
        'field_kaltura_entryid',
      ),
      'settings' => array(
        'thumbsize_width' => NULL,
        'thumbsize_height' => NULL,
        'player_height' => NULL,
        'player_width' => NULL,
        'delivery' => NULL,
        'stretch' => NULL,
        'rotate' => NULL,
      ),
    ),
    'field_kaltura_thumbnail_title_desc' => array(
      'label' => t('Thumbnail with title and description'),
      'field types' => array(
        'field_kaltura_entryid',
      ),
      'settings' => array(
        'thumbsize_width' => NULL,
        'thumbsize_height' => NULL,
        'player_height' => NULL,
        'player_width' => NULL,
        'delivery' => NULL,
        'stretch' => NULL,
        'rotate' => NULL,
      ),
    ),
    'field_kaltura_thumbnail_metadata' => array(
      'label' => t('Thumbnail and metadata'),
      'field types' => array(
        'field_kaltura_entryid',
      ),
      'settings' => array(
        'thumbsize_width' => NULL,
        'thumbsize_height' => NULL,
        'player_height' => NULL,
        'player_width' => NULL,
        'delivery' => NULL,
        'stretch' => NULL,
        'rotate' => NULL,
      ),
    ),
  );
}