You are here

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

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

Implements hook_theme().

File

./cookiebot.module, line 39
The module file.

Code

function cookiebot_theme($existing, $type, $theme, $path) {
  return [
    'cookiebot_declaration' => [
      'variables' => [
        'cookiebot_src' => NULL,
      ],
    ],
    'cookiebot_blocked_element_placeholder' => [
      'variables' => [
        'content' => NULL,
        'attributes' => new Attribute(),
        'inner_attributes' => new Attribute(),
      ],
    ],
  ];
}