You are here

function views_slideshow_cycle_theme in Views Slideshow 8.4

Same name and namespace in other branches
  1. 8.3 modules/views_slideshow_cycle/views_slideshow_cycle.module \views_slideshow_cycle_theme()
  2. 6.3 contrib/views_slideshow_cycle/views_slideshow_cycle.module \views_slideshow_cycle_theme()
  3. 7.3 contrib/views_slideshow_cycle/views_slideshow_cycle.module \views_slideshow_cycle_theme()

Implements hook_theme().

File

modules/views_slideshow_cycle/views_slideshow_cycle.module, line 31
Views Slideshow: cycle is typically used for field views.

Code

function views_slideshow_cycle_theme($existing, $type, $theme, $path) {
  return [
    'views_slideshow_cycle' => [
      'variables' => [
        'view' => NULL,
        'settings' => [],
        'rows' => [],
        'title' => '',
      ],
      'template' => 'views-slideshow-cycle',
      'file' => 'views_slideshow_cycle.theme.inc',
    ],
    'views_slideshow_cycle_main_frame' => [
      'variables' => [
        'vss_id' => NULL,
        'view' => NULL,
        'settings' => NULL,
        'rows' => NULL,
      ],
      'template' => 'views-slideshow-cycle-main-frame',
      'file' => 'views_slideshow_cycle.theme.inc',
    ],
    'views_slideshow_cycle_main_frame_row' => [
      'variables' => [
        'vss_id' => NULL,
        'items' => NULL,
        'count' => NULL,
        'view' => NULL,
      ],
      'template' => 'views-slideshow-cycle-main-frame-row',
      'file' => 'views_slideshow_cycle.theme.inc',
    ],
    'views_slideshow_cycle_main_frame_row_item' => [
      'variables' => [
        'item' => NULL,
        'item_count' => NULL,
        'count' => NULL,
        'view' => NULL,
        'length' => NULL,
      ],
      'template' => 'views-slideshow-cycle-main-frame-row-item',
      'file' => 'views_slideshow_cycle.theme.inc',
    ],
  ];
}