You are here

function feeds_importer_template in Feeds 7.2

Same name and namespace in other branches
  1. 8.2 feeds.pages.inc \feeds_importer_template()

Template generation.

1 string reference to 'feeds_importer_template'
feeds_menu in ./feeds.module
Implements hook_menu().

File

./feeds.pages.inc, line 362
Menu callbacks, form callbacks and helpers.

Code

function feeds_importer_template(FeedsImporter $importer) {
  if ($importer->parser instanceof FeedsCSVParser) {
    return $importer->parser
      ->getTemplate();
  }
  return drupal_not_found();
}