You are here

function flexslider_theme in Flex Slider 8.2

Same name and namespace in other branches
  1. 7.2 flexslider.module \flexslider_theme()
  2. 7 flexslider.module \flexslider_theme()

Implements hook_theme().

File

./flexslider.module, line 172
A light-weight, customizable image gallery plugin for Drupal based on jQuery.

Code

function flexslider_theme() {
  return [
    // Flexslider container.
    'flexslider' => [
      'variables' => [
        'flexslider' => [],
      ],
      'file' => 'templates/flexslider.theme.inc',
    ],
    // Slide container.
    'flexslider_list' => [
      'variables' => [
        'items' => [],
        'settings' => [],
      ],
      'file' => 'templates/flexslider.theme.inc',
    ],
    // Slide item.
    'flexslider_list_item' => [
      'variables' => [
        'item' => [],
        'settings' => [],
        'caption' => '',
      ],
      'file' => 'templates/flexslider.theme.inc',
    ],
  ];
}