You are here

function feeds_jsonpath_parser_feeds_plugins in Feeds JSONPath Parser 6

Same name and namespace in other branches
  1. 7 feeds_jsonpath_parser.module \feeds_jsonpath_parser_feeds_plugins()

Implementation of hook_feeds_plugins().

File

./feeds_jsonpath_parser.module, line 6

Code

function feeds_jsonpath_parser_feeds_plugins() {
  $path = drupal_get_path('module', 'feeds_jsonpath_parser');
  $info = array();
  $info['FeedsJSONPathParser'] = array(
    'name' => t('JSONPath parser'),
    'description' => t('Parse JSON using JSONPath.'),
    'handler' => array(
      'parent' => 'FeedsParser',
      'class' => 'FeedsJSONPathParser',
      'file' => 'FeedsJSONPathParser.inc',
      'path' => $path,
    ),
  );
  return $info;
}