function emaudio_field_info in Embedded Media Field 6
Same name and namespace in other branches
- 5 contrib/emaudio/emaudio.module \emaudio_field_info()
- 6.3 contrib/emaudio/emaudio.module \emaudio_field_info()
- 6.2 contrib/emaudio/emaudio.module \emaudio_field_info()
Implementation of hook_field_info().
File
- contrib/
emaudio/ emaudio.module, line 46 - Embedded Audio module is a handler for mp3 and similar audio files, hosted on 3rd party sites.
Code
function emaudio_field_info() {
$fields = array(
'emaudio' => array(
'label' => t('Embedded Audio'),
'description' => t('Automatically parse and display audio from a 3rd party by submitting its URL or embed code.'),
'callbacks' => array(
'tables' => CONTENT_CALLBACK_DEFAULT,
'arguments' => CONTENT_CALLBACK_DEFAULT,
),
),
);
return $fields;
}