function flag_action_submit in Flag 6.2
Same name and namespace in other branches
- 7.3 includes/flag.actions.inc \flag_action_submit()
- 7.2 includes/flag.actions.inc \flag_action_submit()
Generic submission handler for saving Flag action configuration.
3 calls to flag_action_submit()
- flag_comment_action_submit in includes/
flag.actions.inc - Submit function for the Flag comment action form.
- flag_node_action_submit in includes/
flag.actions.inc - Submit function for the Flag node action form.
- flag_user_action_submit in includes/
flag.actions.inc - Submit function for the Flag user action form.
File
- includes/
flag.actions.inc, line 241 - Hooks for flag actions.
Code
function flag_action_submit($form, $form_state) {
return array(
'flag_action' => $form_state['values']['flag_action'],
);
}