function aggregator_admin_remove_feed

7.x aggregator.admin.inc aggregator_admin_remove_feed($form, $form_state, $feed)
6.x aggregator.admin.inc aggregator_admin_remove_feed($form_state, $feed)
1 string reference to 'aggregator_admin_remove_feed'
aggregator_menu in drupal-6.x/modules/aggregator/aggregator.module
Implementation of hook_menu().

File

drupal-6.x/modules/aggregator/aggregator.admin.inc, line 186
Admin page callbacks for the aggregator module.

Code

function aggregator_admin_remove_feed($form_state, $feed) {
  return confirm_form(
  array(
    'feed' => array(
      '#type' => 'value',
      '#value' => $feed,
    ),
  ), 
  t('Are you sure you want to remove all items from the feed %feed?', array('%feed' => $feed['title'])), 
  'admin/content/aggregator', 
  t('This action cannot be undone.'), 
  t('Remove items'), 
  t('Cancel')
  );
}