You are here

function feeds_ui_delete_form in Feeds 8.2

Same name and namespace in other branches
  1. 6 feeds_ui/feeds_ui.admin.inc \feeds_ui_delete_form()
  2. 7.2 feeds_ui/feeds_ui.admin.inc \feeds_ui_delete_form()
  3. 7 feeds_ui/feeds_ui.admin.inc \feeds_ui_delete_form()

Delete configuration form.

1 string reference to 'feeds_ui_delete_form'
feeds_ui_menu in feeds_ui/feeds_ui.module
Implements hook_menu().

File

feeds_ui/feeds_ui.admin.inc, line 212
Contains all page callbacks, forms and theming functions for Feeds administrative pages.

Code

function feeds_ui_delete_form($form, &$form_state, $importer) {
  $form['#importer'] = $importer->id;
  $title = t('Would you really like to delete the importer @importer?', array(
    '@importer' => $importer->config['name'],
  ));
  $button_label = t('Delete');
  return confirm_form($form, $title, 'admin/structure/feeds', t('This action cannot be undone.'), $button_label);
}