function recaptcha_theme in reCAPTCHA 8.2
Same name and namespace in other branches
- 8.3 recaptcha.module \recaptcha_theme()
- 8 recaptcha.module \recaptcha_theme()
- 6.2 recaptcha.module \recaptcha_theme()
- 6 recaptcha.module \recaptcha_theme()
- 7.2 recaptcha.module \recaptcha_theme()
- 7 recaptcha.module \recaptcha_theme()
Implements hook_theme().
2 string references to 'recaptcha_theme'
- d6_recaptcha_settings.yml in migrations/
d6_recaptcha_settings.yml - migrations/d6_recaptcha_settings.yml
- d7_recaptcha_settings.yml in migrations/
d7_recaptcha_settings.yml - migrations/d7_recaptcha_settings.yml
File
- ./
recaptcha.module, line 49 - Verifies if user is a human without necessity to solve a CAPTCHA.
Code
function recaptcha_theme() {
return [
'recaptcha_widget_noscript' => [
'variables' => [
'widget' => NULL,
],
'template' => 'recaptcha-widget-noscript',
],
];
}