function feeds_importer_template in Feeds 8.2
Same name and namespace in other branches
- 7.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 274 - Menu callbacks, form callbacks and helpers.
Code
function feeds_importer_template($importer_id) {
$importer = feeds_importer($importer_id);
if ($importer->parser instanceof FeedsCSVParser) {
return $importer->parser
->getTemplate();
}
return drupal_not_found();
}