function dynamic_banner_theme in Dynamic Banner 7
Same name and namespace in other branches
- 8 dynamic_banner.module \dynamic_banner_theme()
- 6 dynamic_banner.module \dynamic_banner_theme()
- 7.2 dynamic_banner.module \dynamic_banner_theme()
- 8.x dynamic_banner.module \dynamic_banner_theme()
Implements hook_theme(). theme template used in module.
File
- ./
dynamic_banner.module, line 199 - Distributed under GNU GPL version 3
Code
function dynamic_banner_theme() {
$theme = array(
'banner_output' => array(
'variables' => array(
'url' => NULL,
'text' => NULL,
'link' => NULL,
'display_setting' => NULL,
'display_errors' => NULL,
),
'path' => drupal_get_path('module', 'dynamic_banner') . '/templates',
'template' => 'banner_output_template',
),
);
return $theme;
}