You are here

function emaudio_podcastalley_info in Embedded Media Field 6

Same name and namespace in other branches
  1. 5 contrib/emaudio/providers/podcastalley.inc \emaudio_podcastalley_info()
  2. 6.3 contrib/emaudio/providers/podcastalley.inc \emaudio_podcastalley_info()

Implementation of hook emaudio_podcastalley_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/podcastalley.inc, line 23
This include processes Podcastalley audio files for use by emaudio.module.

Code

function emaudio_podcastalley_info() {
  $features = array(
    array(
      t('Autoplay'),
      t('No'),
      '',
    ),
    array(
      t('RSS Attachment'),
      t('No'),
      '',
    ),
    array(
      t('Thumbnails'),
      t('No'),
      t(''),
    ),
  );
  return array(
    'provider' => 'Podcast Alley',
    'name' => t('Podcast Alley'),
    'url' => EMAUDIO_PODCASTALLEY_MAIN_URL,
    'settings_description' => t('These settings specifically affect audio podcasts displayed from <a href="@podcastalley" target="_blank">Podcast Alley</a>.', array(
      '@podcastalley' => EMAUDIO_PODCASTALLEY_MAIN_URL,
    )),
    'supported_features' => $features,
  );
}