function nivo_slider_theme in Nivo Slider 8
Same name and namespace in other branches
- 7 nivo_slider.module \nivo_slider_theme()
Implements hook_theme().
File
- ./
nivo_slider.module, line 111 - Primarily Drupal hooks.
Code
function nivo_slider_theme($existing, $type, $theme, $path) {
return [
'nivo_slider_wrapper' => [
'variables' => [
'themes' => NULL,
'banners' => NULL,
'html_captions' => NULL,
],
'template' => 'nivo-slider-wrapper',
'file' => 'templates/theme.inc',
],
];
}