You are here

function views_slideshow_jcarousel_theme in Views Slideshow JCarousel 7.2

Same name and namespace in other branches
  1. 8 views_slideshow_jcarousel.module \views_slideshow_jcarousel_theme()
  2. 6 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 7

Code

function views_slideshow_jcarousel_theme($existing, $type, $theme, $path) {
  return array(
    // declare a teplate suggestion that will allow for the main slideshow template to be overridden
    // by this module. this will ensure that our pager and main frame templates are allowed to work together
    // with the proper markup syntax
    'views_slideshow__jcarousel' => array(
      'variables' => array(
        'view' => NULL,
        'settings' => array(),
        'rows' => array(),
        'title' => '',
      ),
      'template' => 'theme/views-slideshow--jcarousel',
      'file' => 'theme/views_slideshow_jcarousel.theme.inc',
    ),
    'views_slideshow_jcarousel_main_frame' => array(
      'variables' => array(
        'vss_id' => NULL,
        'view' => NULL,
        'settings' => NULL,
        'rows' => NULL,
      ),
      'template' => 'theme/views-slideshow-jcarousel-main-frame',
      'pattern' => 'views_slideshow_jcarousel_main_frame__',
    ),
    'views_slideshow_jcarousel_main_frame_row' => array(
      'variables' => array(
        'vss_id' => NULL,
        'items' => NULL,
        'count' => NULL,
        'view' => NULL,
      ),
      'template' => 'theme/views-slideshow-jcarousel-main-frame-row',
      'pattern' => 'views_slideshow_jcarousel_main_frame_row__',
    ),
    'views_slideshow_jcarousel_main_frame_row_item' => array(
      'variables' => array(
        'item' => NULL,
        'item_count' => NULL,
        'count' => NULL,
        'view' => NULL,
        'length' => NULL,
      ),
      'template' => 'theme/views-slideshow-jcarousel-main-frame-row-item',
      'views_slideshow_jcarousel_main_frame_row_item__',
    ),
    'views_slideshow_jcarousel_pager' => array(
      'variables' => array(
        'vss_id' => NULL,
        'view' => NULL,
        'settings' => array(),
        'location' => NULL,
        'attributes' => array(),
      ),
      'template' => 'views-slideshow-jcarousel-pager',
      'path' => $path . '/theme',
    ),
    'views_slideshow_jcarousel_pager_field' => array(
      'variables' => array(
        'view' => NULL,
        'field' => NULL,
        'count' => NULL,
      ),
      'template' => 'views-slideshow-jcarousel-pager-field',
      'file' => 'views_slideshow_jcarousel.theme.inc',
      'path' => $path . '/theme',
    ),
    'views_slideshow_jcarousel_pager_item' => array(
      'variables' => array(
        'vss_id' => NULL,
        'item' => NULL,
        'count' => NULL,
        'location' => NULL,
      ),
      'template' => 'views-slideshow-jcarousel-pager-item',
      'path' => $path . '/theme',
    ),
  );
}