function instagram_feeds_plugins_feeds_plugins in Instagram Feeds 7
Implements hook_feeds_plugins().
File
- modules/
instagram_feeds_plugins/ instagram_feeds_plugins.module, line 10 - Code for the Instagram Feeds Plugin module.
Code
function instagram_feeds_plugins_feeds_plugins() {
$info = array();
$info['InstagramFeedsPluginsPager'] = array(
'name' => t('Instagram Pager'),
'description' => t('Fetch continuous pages returned by Instagram API feeds.'),
'help' => t('This fetcher will use the data returned by Instagram API feeds to continue to the next page, and so on. During the first fetch, no paging will take place.'),
'handler' => array(
'parent' => 'FeedsHTTPFetcher',
'class' => 'InstagramFeedsPluginsPager',
'file' => 'InstagramFeedsPluginsPager.inc',
'path' => drupal_get_path('module', 'instagram_feeds_plugins') . '/plugins/feeds',
),
);
$info['InstagramFeedsPluginsNodeProcessor'] = array(
'name' => t('Instagram Feeds Node processor'),
'description' => t('Create and update nodes regardless of source.'),
'help' => t('Create and update nodes from parsed content regardless of source.'),
'handler' => array(
'parent' => 'FeedsNodeProcessor',
'class' => 'InstagramFeedsPluginsNodeProcessor',
'file' => 'InstagramFeedsPluginsNodeProcessor.inc',
'path' => drupal_get_path('module', 'instagram_feeds_plugins') . '/plugins/feeds',
),
);
return $info;
}