function feeds_ui_delete_form_submit in Feeds 7.2
Same name and namespace in other branches
- 8.2 feeds_ui/feeds_ui.admin.inc \feeds_ui_delete_form_submit()
- 6 feeds_ui/feeds_ui.admin.inc \feeds_ui_delete_form_submit()
- 7 feeds_ui/feeds_ui.admin.inc \feeds_ui_delete_form_submit()
Submit handler for feeds_ui_delete_form().
File
- feeds_ui/
feeds_ui.admin.inc, line 248 - Contains all page callbacks, forms and theming functions for Feeds administrative pages.
Code
function feeds_ui_delete_form_submit($form, &$form_state) {
$form_state['redirect'] = 'admin/structure/feeds';
// Remove importer.
feeds_importer($form['#importer'])
->delete();
// Clear cache, deleting a configuration may have an affect on menu tree.
feeds_cache_clear();
}