function soundcloudfield_field_formatter_info in SoundCloud field 7
Same name and namespace in other branches
- 6 soundcloudfield.module \soundcloudfield_field_formatter_info()
Implements hook_field_formatter_info().
File
- ./
soundcloudfield.module, line 234 - @author Attila Fekete - http://drupal.org/user/762986
Code
function soundcloudfield_field_formatter_info() {
return array(
'soundcloud_html5' => array(
'label' => t('HTML5 player'),
'field types' => array(
'soundcloud',
),
'settings' => array(
// Give a default value for when the form is first loaded.
'player_type' => 'classic',
),
),
'soundcloud_link' => array(
'label' => t('Link'),
'field types' => array(
'soundcloud',
),
),
);
}