You are here

function feeds_rules_feeds_plugins in Feeds Rules 7

Implements hook_feeds_plugins().

File

./feeds_rules.feeds.inc, line 11
Provides feeds implementation hooks for feeds_rules.

Code

function feeds_rules_feeds_plugins() {
  $info = array();
  $info['FeedsRulesProcessor'] = array(
    'name' => 'Rules processor',
    'description' => 'Pass data to rules.',
    'help' => 'Handle parsed content by passing it to any defined rule.',
    'handler' => array(
      'parent' => 'FeedsProcessor',
      'class' => 'FeedsRulesProcessor',
      'file' => 'FeedsRulesProcessor.inc',
      'path' => drupal_get_path('module', 'feeds_rules') . '/plugins',
    ),
  );
  return $info;
}