You are here

function captcha_theme in CAPTCHA 7

Same name and namespace in other branches
  1. 8 captcha.module \captcha_theme()
  2. 6.2 captcha.module \captcha_theme()
  3. 6 captcha.module \captcha_theme()

Implements of hook_theme().

File

./captcha.module, line 127
This module enables basic CAPTCHA functionality: administrators can add a CAPTCHA to desired forms that users without the 'skip CAPTCHA' permission (typically anonymous visitors) have to solve.

Code

function captcha_theme() {
  return array(
    'captcha_admin_settings_captcha_points' => array(
      'render element' => 'form',
    ),
    'captcha' => array(
      'render element' => 'element',
    ),
  );
}