You are here

function antibot_theme in Antibot 8

Same name and namespace in other branches
  1. 7 antibot.module \antibot_theme()

Implements hook_theme().

File

./antibot.module, line 32
Implements the antibot module.

Code

function antibot_theme($existing, $type, $theme, $path) {
  $items = [];
  $items['antibot_no_js'] = [
    'template' => 'antibot-no-js',
    'variables' => [
      'message' => NULL,
    ],
    'path' => $path . '/templates',
  ];
  return $items;
}