function feeds_export in Feeds 7.2
Same name and namespace in other branches
- 8.2 feeds.module \feeds_export()
- 6 feeds.module \feeds_export()
- 7 feeds.module \feeds_export()
Exports a FeedsImporter configuration to code.
Related topics
1 call to feeds_export()
- feeds_ui_export_form in feeds_ui/
feeds_ui.admin.inc - Export a feed configuration.
File
- ./
feeds.module, line 1149 - Feeds - basic API functions and hook implementations.
Code
function feeds_export($importer_id, $indent = '') {
ctools_include('export');
$result = ctools_export_load_object('feeds_importer', 'names', array(
'id' => $importer_id,
));
if (isset($result[$importer_id])) {
return ctools_export_object('feeds_importer', $result[$importer_id], $indent);
}
}