You are here

function recaptcha_theme in reCAPTCHA 8

Same name and namespace in other branches
  1. 8.3 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'
RecaptchaSettingsForm::buildForm in lib/Drupal/recaptcha/Form/RecaptchaSettingsForm.php
Form constructor.
recaptcha_captcha in ./recaptcha.module
Implements hook_captcha().

File

./recaptcha.module, line 39
Uses the reCAPTCHA web service to improve the CAPTCHA system.

Code

function recaptcha_theme() {
  return array(
    'recaptcha_custom_widget' => array(
      'variables' => array(),
      'template' => 'recaptcha-custom-widget',
    ),
  );
}