function webform_captcha_submit_handler in Webform Captcha 7
1 string reference to 'webform_captcha_submit_handler'
- webform_captcha_form_alter in ./
webform_captcha.module - Implements hook_form_alter().
File
- ./
webform_captcha.module, line 107
Code
function webform_captcha_submit_handler($form, &$form_state) {
$entity = $form['#node'];
if ($form_state['input']['user-config']) {
_webform_captcha__set_webform_captcha('default', $entity, 'node');
}
else {
_webform_captcha__set_webform_captcha('none', $entity, 'node');
}
}