You are here

function drupal_slider_theme in Drupal Slider 8.2

Same name and namespace in other branches
  1. 8 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,
      ],
    ],
  ];
}