function royalsliderfield_field_formatter_info in RoyalSlider Integration 7
Implements hook_field_formatter_info().
See also
royalsliderfield_field_formatter_view()
File
- contrib/
royalsliderfield/ royalsliderfield.module, line 49 - RoyalSlider Field module.
Code
function royalsliderfield_field_formatter_info() {
$options = _royalslider_optionsets();
$default = NULL;
if (isset($options['default'])) {
$default = 'default';
}
return array(
'royalsliderfields_formatter' => array(
'label' => t('RoyalSlider Full Slide'),
'field types' => array(
'royalsliderfields',
),
'settings' => array(
'royalslider_optionset' => $default,
),
),
);
}