function field_kaltura_field_formatter_info in Kaltura 7.2
Same name and namespace in other branches
- 5 plugins/field_kaltura/field_kaltura.module \field_kaltura_field_formatter_info()
- 6.2 plugins/field_kaltura/field_kaltura.module \field_kaltura_field_formatter_info()
- 6 plugins/field_kaltura/field_kaltura.module \field_kaltura_field_formatter_info()
- 7.3 plugins/field_kaltura/field_kaltura.module \field_kaltura_field_formatter_info()
Implements hook_field_formatter_info().
File
- plugins/
field_kaltura/ field_kaltura.module, line 595 - 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,
),
),
);
}