function flag_action_validate_flag in Flag 6.2
Same name and namespace in other branches
- 7.3 includes/flag.actions.inc \flag_action_validate_flag()
- 7.2 includes/flag.actions.inc \flag_action_validate_flag()
Generic validation handler for validating Flag action configuration.
1 string reference to 'flag_action_validate_flag'
- flag_action_form in includes/
flag.actions.inc - Generic form for configuring Flag actions.
File
- includes/
flag.actions.inc, line 232 - Hooks for flag actions.
Code
function flag_action_validate_flag($element) {
if (isset($element['#flag_error'])) {
form_error($element, $element['#flag_error']);
}
}