You are here

function slick_slideshow_theme in Slick Slideshow Lite 7

Implements hook_theme().

File

./slick_slideshow.module, line 204
Defines a system for adding the Slick responsive slideshow library to Drupal.

Code

function slick_slideshow_theme() {
  return array(
    // Individual slide theme.
    'slick_slideshow_image_slide' => array(
      'variables' => array(
        'item' => array(),
        'image_style' => array(),
        'captions' => array(),
      ),
      'template' => 'templates/slick-slideshow--image--slide',
      'path' => SLICK_SLIDESHOW_PATH,
    ),
    // Custom image field theme.
    'field__image__slick_slideshow' => array(
      'template' => 'templates/field--image--slick-slideshow',
      'base hook' => 'field',
      'path' => SLICK_SLIDESHOW_PATH,
    ),
  );
}