You are here

function feeds_youtube_feeds_plugins in Feeds: YouTube Parser 7.3

Same name and namespace in other branches
  1. 6 feeds_youtube.module \feeds_youtube_feeds_plugins()
  2. 7.2 feeds_youtube.module \feeds_youtube_feeds_plugins()

Implements hook_feeds_plugins().

File

./feeds_youtube.module, line 21
Adds a YouTube feed processor to the Feeds module.

Code

function feeds_youtube_feeds_plugins() {
  $info = array();
  $info['FeedsYoutubeParser'] = array(
    'name' => 'YouTube parser',
    'description' => 'Parse YouTube feeds.',
    'help' => 'Youtube API v3 wrapper to parse YouTube API response videos as Feeds',
    'handler' => array(
      'parent' => 'FeedsParser',
      'class' => 'FeedsYoutubeParser',
      'file' => 'FeedsYoutubeParser.inc',
      'path' => drupal_get_path('module', 'feeds_youtube'),
    ),
  );
  return $info;
}