You are here

function simplenews_unsubscribe_user_action_submit in Simplenews 6.2

Same name and namespace in other branches
  1. 6 simplenews_action/simplenews_action.module \simplenews_unsubscribe_user_action_submit()

Process simplenews_unsubscribe_user_action form submissions.

File

simplenews_action/simplenews_action.module, line 316
Provide actions for simplenews.

Code

function simplenews_unsubscribe_user_action_submit($form, $form_state) {
  $form_values = $form_state['values'];
  $params = array(
    'tid' => $form_values['tid'],
    'name' => $form['tid']['#options'][$form_values['tid']],
  );
  return $params;
}