You are here

function image_captcha_element_info_alter in CAPTCHA 8

Implements hook_element_info_alter().

File

image_captcha/image_captcha.module, line 351
Implements image CAPTCHA for use with the CAPTCHA module.

Code

function image_captcha_element_info_alter(array &$element) {
  if (isset($element['captcha'])) {
    $element['captcha']['#process'][] = 'image_captcha_after_build_process';
  }
}