You are here

function captcha_theme in CAPTCHA 8

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

Implements hook_theme().

File

./captcha.module, line 96
This module enables basic CAPTCHA functionality.

Code

function captcha_theme() {
  return [
    'captcha' => [
      'render element' => 'element',
      'template' => 'captcha',
      'path' => drupal_get_path('module', 'captcha') . '/templates',
    ],
  ];
}