You are here

function simplenews_admin_subscription in Simplenews 7

Same name and namespace in other branches
  1. 7.2 includes/simplenews.admin.inc \simplenews_admin_subscription()

Menu callback: subscription administration.

1 string reference to 'simplenews_admin_subscription'
simplenews_menu in ./simplenews.module
Implements hook_menu().

File

includes/simplenews.admin.inc, line 1049
Newsletter admin, subscription admin, simplenews settings

Code

function simplenews_admin_subscription() {

  // @todo Fix the delete operation
  $form['filter'] = simplenews_subscription_filter_form();
  $form['#submit'][] = 'simplenews_subscription_filter_form_submit';
  $form['filter']['#theme'] = 'simplenews_filter_form';
  $form['admin'] = simplenews_subscription_list_form();
  return $form;
}