function recaptcha_v3_variable_info in reCAPTCHA v3 7
Implements hook_variable_info().
File
- ./
recaptcha_v3.module, line 338 - Verifies if user is a human without necessity to solve a CAPTCHA.
Code
function recaptcha_v3_variable_info($options) {
$variables['recaptcha_v3_error_message'] = array(
'type' => 'string',
'title' => t('Error message', array(), $options),
'default' => 'Recaptcha verification failed.',
'description' => t('This message will be displayed to user in case of failed recaptcha v3 verification.', array(), $options),
'required' => TRUE,
'group' => 'recaptcha_v3',
);
return $variables;
}