function feeds_ui_importer_machine_name_exists in Feeds 7.2
Same name and namespace in other branches
- 8.2 feeds_ui/feeds_ui.admin.inc \feeds_ui_importer_machine_name_exists()
Validation callback for the importer machine name field.
1 call to feeds_ui_importer_machine_name_exists()
- feeds_ui_importer_import_validate in feeds_ui/
feeds_ui.admin.inc - Form validation handler for feeds_ui_importer_import().
1 string reference to 'feeds_ui_importer_machine_name_exists'
- feeds_ui_create_form in feeds_ui/
feeds_ui.admin.inc - Create a new configuration.
File
- feeds_ui/
feeds_ui.admin.inc, line 177 - Contains all page callbacks, forms and theming functions for Feeds administrative pages.
Code
function feeds_ui_importer_machine_name_exists($id) {
if ($id == 'create') {
// Create is a reserved path for the add importer form.
return TRUE;
}
ctools_include('export');
if (ctools_export_load_object('feeds_importer', 'conditions', array(
'id' => $id,
))) {
return TRUE;
}
}