function drupal_slider_theme in Drupal Slider 8
Same name and namespace in other branches
- 8.2 drupal_slider.module \drupal_slider_theme()
Implements hook_theme().
File
- ./
drupal_slider.module, line 22 - Provides Drupal slider integration with Views.
Code
function drupal_slider_theme($existing, $type, $theme, $path) {
return [
'drupal_slider_layers' => [
'variables' => [
'layers_attributes' => NULL,
'background_img' => NULL,
'layers' => NULL,
'id' => NULL,
],
],
'drupal_slider_views_style' => [
'variables' => [
'id' => NULL,
],
],
];
}