function cookie_banner_theme in Cookie_Banner 7
Same name and namespace in other branches
- 8 cookie_banner.module \cookie_banner_theme()
Implements hook_theme().
File
- ./
cookie_banner.module, line 76 - Main module file.
Code
function cookie_banner_theme() {
$path = drupal_get_path('module', 'cookie_banner') . '/templates';
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,
),
);
}