You are here

function _recaptcha_load_library in reCAPTCHA 8

Same name and namespace in other branches
  1. 6 recaptcha.module \_recaptcha_load_library()
  2. 7 recaptcha.module \_recaptcha_load_library()

Load the recaptcha library.

2 calls to _recaptcha_load_library()
RecaptchaSettingsForm::buildForm in lib/Drupal/recaptcha/Form/RecaptchaSettingsForm.php
Form constructor.
recaptcha_captcha in ./recaptcha.module
Implements hook_captcha().

File

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

Code

function _recaptcha_load_library() {
  return module_load_include('php', 'recaptcha', 'recaptcha-php-1.11/recaptchalib');
}