You are here

function simplenews_admin_users_form in Simplenews 6

Same name and namespace in other branches
  1. 5 simplenews.module \simplenews_admin_users_form()

Menu callback: handle the edit subscription page and a subscription page for anonymous users.

1 string reference to 'simplenews_admin_users_form'
simplenews_menu in ./simplenews.module
Implementation of hook_menu().

File

./simplenews.subscription.inc, line 204
(Un)subscription and (un)subscription confirmation

Code

function simplenews_admin_users_form(&$form_state, $snid = NULL) {
  $form = simplenews_subscription_manager_form($form_state, $snid);
  $form['#redirect'] = 'admin/content/simplenews/users';
  return $form;
}