function emaudio_odeo_info in Embedded Media Field 5
Same name and namespace in other branches
- 6.3 contrib/emaudio/providers/odeo.inc \emaudio_odeo_info()
- 6 contrib/emaudio/providers/odeo.inc \emaudio_odeo_info()
Implementation of hook emaudio_odeo_info(). This returns information relevant to a specific 3rd party audio provider.
Return value
An array of strings requested by various admin and other forms. 'name' => The translated name of the provider. 'url' => The url to the main page for the provider. 'settings_description' => A description of the provider that will be posted in the admin settings form. 'supported_features' => An array of rows describing the state of certain supported features by the provider. These will be rendered in a table, with the columns being 'Feature', 'Supported', 'Notes'.
File
- contrib/
emaudio/ providers/ odeo.inc, line 14
Code
function emaudio_odeo_info() {
$name = t('odeo');
$features = array(
array(
t('Autoplay'),
t('No'),
'',
),
array(
t('RSS Attachment'),
t('No'),
'',
),
array(
t('Thumbnails'),
t('No'),
t(''),
),
);
return array(
'provider' => 'odeo',
'name' => $name,
'url' => EMAUDIO_ODEO_MAIN_URL,
'settings_description' => t('These settings specifically affect audio podcasts displayed from !odeo.', array(
'!odeo' => l($name, EMAUDIO_ODEO_MAIN_URL, array(
'target' => '_blank',
)),
)),
'supported_features' => $features,
);
}