You are here

function cookiebot_theme in Cookiebot - Cookie consent, Cookie monitoring and Cookie control 7

Same name and namespace in other branches
  1. 8 cookiebot.module \cookiebot_theme()

Implements hook_theme().

File

./cookiebot.module, line 71
The Cookiebot main module file.

Code

function cookiebot_theme($existing, $type, $theme, $path) {
  return [
    'cookiebot_declaration' => [
      'template' => 'templates/cookiebot-declaration',
      'variables' => [
        'cookiebot_src' => '',
      ],
    ],
    'cookiebot_blocked_element_placeholder' => [
      'template' => 'templates/cookiebot-blocked-element-placeholder',
      'variables' => [
        'content' => NULL,
      ],
    ],
  ];
}