You are here

function feeds_excel_feeds_plugins in Feeds Excel 7

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

Implements hook_feeds_plugins().

File

./feeds_excel.module, line 16

Code

function feeds_excel_feeds_plugins() {
  $info = array();
  $info['ExcelParser'] = array(
    'name' => 'Excel parser',
    'description' => 'Parses an excel file.',
    'help' => 'ExcelParser uses the phpExcelReader library to read in an excel file. The values of an excel file can be referenced via tokens in the mapping.',
    '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;
}