aggregator_admin_remove_feed_submit

  1. drupal
    1. 5 aggregator.module
    2. 8
    3. 6
    4. 7
Versions
5 aggregator_admin_remove_feed_submit($form_id, $form_values)
7 – 6 aggregator_admin_remove_feed_submit($form, &$form_state)

Remove all items from a feed and redirect to the overview page.

Parameters

$feed An associative array describing the feed to be cleared.

Code

modules/aggregator/aggregator.admin.inc, line 223

<?php
function aggregator_admin_remove_feed_submit($form, &$form_state) {
  aggregator_remove($form_state['values']['feed']);
  $form_state['redirect'] = 'admin/config/services/aggregator';
}
?>