You are here

function bxslider_theme in BxSlider 8

Same name and namespace in other branches
  1. 7 bxslider.module \bxslider_theme()

Implements hook_theme().

File

./bxslider.module, line 29
BxSlider integration.

Code

function bxslider_theme($existing, $type, $theme, $path) {
  return [
    'bxslider' => [
      'variables' => [
        'items' => [],
        'settings' => [],
      ],
      'template' => 'bxslider',
    ],
    'bxslider_ths' => [
      'variables' => [
        'items' => [],
        'thumbnail_items' => [],
        'settings' => [],
      ],
      'template' => 'bxslider-thumbnail',
    ],
  ];
}