You are here

function recaptcha_theme in reCAPTCHA 8.3

Same name and namespace in other branches
  1. 8 recaptcha.module \recaptcha_theme()
  2. 8.2 recaptcha.module \recaptcha_theme()
  3. 6.2 recaptcha.module \recaptcha_theme()
  4. 6 recaptcha.module \recaptcha_theme()
  5. 7.2 recaptcha.module \recaptcha_theme()
  6. 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 43
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',
    ],
  ];
}