You are here

function cookie_banner_theme in Cookie_Banner 8

Same name and namespace in other branches
  1. 7 cookie_banner.module \cookie_banner_theme()

Implements hook_theme().

File

./cookie_banner.module, line 36
Main module file.

Code

function cookie_banner_theme($existing, $type, $theme, $path) {
  return array(
    'cookie_banner_message' => array(
      'template' => 'cookie-banner-message',
      'variables' => array(
        'use_cookie_message' => NULL,
        'more_info_message' => NULL,
        'more_info_url' => NULL,
      ),
      'path' => $path . '/templates',
    ),
  );
}