You are here

function clients_feeds_feeds_plugins in Web Service Clients 7

Same name and namespace in other branches
  1. 6 clients/clients_feeds/clients_feeds.module \clients_feeds_feeds_plugins()

Implementation of hook_feeds_plugins().

File

clients/clients_feeds/clients_feeds.module, line 38

Code

function clients_feeds_feeds_plugins() {
  $info = array();
  $info['FeedsClientsFetcher'] = array(
    'name' => 'Clients fetcher',
    'description' => 'Fetch data using clients resources',
    'handler' => array(
      'parent' => 'FeedsFetcher',
      // A plugin needs to derive either directly or indirectly from FeedsFetcher, FeedsParser or FeedsProcessor.
      'class' => 'FeedsClientsFetcher',
      'file' => 'FeedsClientsFetcher.inc',
      'path' => drupal_get_path('module', 'clients_feeds'),
    ),
  );
  $info['FeedsClientsParser'] = array(
    'name' => 'Clients parser',
    'description' => 'Parses data using Clients module resources',
    'handler' => array(
      'parent' => 'FeedsParser',
      // A plugin needs to derive either directly or indirectly from FeedsFetcher, FeedsParser or FeedsProcessor.
      'class' => 'FeedsClientsParser',
      'file' => 'FeedsClientsParser.inc',
      'path' => drupal_get_path('module', 'clients_feeds'),
    ),
  );
  return $info;
}