You are here

function feeds_excel_feeds_plugins in Feeds Excel 6

Same name and namespace in other branches
  1. 7.2 feeds_excel.module \feeds_excel_feeds_plugins()
  2. 7 feeds_excel.module \feeds_excel_feeds_plugins()

Implementation of hook_feeds_plugins().

File

./feeds_excel.module, line 6

Code

function feeds_excel_feeds_plugins() {
  $info = array();
  $info['ExcelParser'] = array(
    'name' => 'Excel parser',
    'description' => 'Parses an excel file.',
    'handler' => array(
      'parent' => 'FeedsParser',
      // A plugin needs to derive either directly or indirectly from FeedsFetcher, FeedsParser or FeedsProcessor.
      'class' => 'FeedsExcelParser',
      'file' => 'ExcelParser.inc',
      'path' => drupal_get_path('module', 'feeds_excel'),
    ),
  );
  return $info;
}