You are here

function feeds_delete_tab_form_submit in Feeds 7

Same name and namespace in other branches
  1. 8.2 feeds.pages.inc \feeds_delete_tab_form_submit()
  2. 6 feeds.pages.inc \feeds_delete_tab_form_submit()
  3. 7.2 feeds.pages.inc \feeds_delete_tab_form_submit()

Submit handler for feeds_delete_tab_form().

File

./feeds.pages.inc, line 136
Menu callbacks, form callbacks and helpers.

Code

function feeds_delete_tab_form_submit($form, &$form_state) {
  $form_state['redirect'] = $form['#redirect'];
  $feed_nid = empty($form['#feed_nid']) ? 0 : $form['#feed_nid'];
  feeds_batch_set(t('Deleting'), 'clear', $form['#importer_id'], $feed_nid);
}