You are here

function flag_actions_add_form_submit in Flag 6.2

Same name and namespace in other branches
  1. 5 flag_actions.module \flag_actions_add_form_submit()
  2. 6 flag_actions.module \flag_actions_add_form_submit()
  3. 7.3 flag_actions.module \flag_actions_add_form_submit()
  4. 7.2 flag_actions.module \flag_actions_add_form_submit()

File

./flag_actions.module, line 338
Actions support for the Flag module.

Code

function flag_actions_add_form_submit($form, &$form_state) {
  if ($form_state['values']['flag']) {
    $form_state['redirect'] = array(
      'admin/build/flags/actions/add/' . $form_state['values']['flag'],
    );
  }
}