You are here

function views_slideshow_jcarousel_theme in Views Slideshow JCarousel 8

Same name and namespace in other branches
  1. 6 views_slideshow_jcarousel.module \views_slideshow_jcarousel_theme()
  2. 7.2 views_slideshow_jcarousel.module \views_slideshow_jcarousel_theme()
  3. 7 views_slideshow_jcarousel.module \views_slideshow_jcarousel_theme()

Implements hook_theme().

File

./views_slideshow_jcarousel.module, line 11
Views Slideshow: JCarousel is typically used for field views.

Code

function views_slideshow_jcarousel_theme($existing, $type, $theme, $path) {
  return [
    'views_slideshow_jcarousel_pager' => [
      'variables' => [
        'vss_id' => NULL,
        'view' => NULL,
        'settings' => [],
        'location' => NULL,
        'attributes' => [],
      ],
      'template' => 'views-slideshow-jcarousel-pager',
    ],
    'views_slideshow_jcarousel_pager_field' => [
      'variables' => [
        'view' => NULL,
        'label' => NULL,
        'output' => NULL,
        'css_identifier' => NULL,
      ],
      'template' => 'views-slideshow-jcarousel-pager-field',
      'file' => 'views_slideshow_jcarousel.theme.inc',
    ],
    'views_slideshow_jcarousel_pager_item' => [
      'variables' => [
        'vss_id' => NULL,
        'item' => NULL,
        'count' => NULL,
        'location' => NULL,
      ],
      'template' => 'views-slideshow-jcarousel-pager-item',
    ],
  ];
}