function jw_player_field_formatter_info in JW Player 7
Same name and namespace in other branches
- 7.2 jw_player.module \jw_player_field_formatter_info()
Implements hook_field_formatter_info().
File
- ./
jw_player.module, line 58 - Adds a theme function which allows theme developers to use the JW Player.
Code
function jw_player_field_formatter_info() {
$formatters = array(
'jw_player' => array(
'label' => t('JW player'),
'field types' => array(
'file',
),
'settings' => array(
'jwplayer_preset' => '',
),
),
);
return $formatters;
}