function aggregator_admin_remove_feed_submit in Drupal 7
Same name and namespace in other branches
- 4 modules/aggregator.module \aggregator_admin_remove_feed_submit()
- 5 modules/aggregator/aggregator.module \aggregator_admin_remove_feed_submit()
- 6 modules/aggregator/aggregator.admin.inc \aggregator_admin_remove_feed_submit()
Form submission handler for aggregator_admin_remove_feed().
Removes all items from a feed and redirects to the overview page.
File
- modules/
aggregator/ aggregator.admin.inc, line 238 - Administration page callbacks for the Aggregator module.
Code
function aggregator_admin_remove_feed_submit($form, &$form_state) {
aggregator_remove($form_state['values']['feed']);
$form_state['redirect'] = 'admin/config/services/aggregator';
}