function recaptcha_v3_admin_settings_delete_action_submit in reCAPTCHA v3 7
File
- ./
recaptcha_v3.admin.inc, line 253 - Provides the Google No CAPTCHA administration settings.
Code
function recaptcha_v3_admin_settings_delete_action_submit($form, &$form_state) {
db_delete('recaptcha_v3_actions')
->condition('id', $form_state['values']['id'])
->execute();
drupal_set_message(t('The action %id has been deleted.', array(
'%id' => $form_state['values']['id'],
)));
$form_state['redirect'] = 'admin/config/people/captcha/recaptcha-v3';
}