You are here

bootstrap_basic_image_gallery.module in Bootstrap Basic Image Gallery 8

Drupal Module: Bootstrap Basic Image Gallery.

Image formatter for displaying as bootstrap-based image gallery.

File

bootstrap_basic_image_gallery.module
View source
<?php

/**
 * @file
 * Drupal Module: Bootstrap Basic Image Gallery.
 *
 * Image formatter for displaying as bootstrap-based image gallery.
 */

/**
 * Implements hook_theme().
 */
function bootstrap_basic_image_gallery_theme($existing, $type, $theme, $path) {
  return [
    'bootstrap_basic_image_gallery' => [
      'variables' => [
        'main' => [],
        'thumbnails' => [
          'class' => NULL,
          'images' => [],
        ],
        'lazyload' => NULL,
        'modal' => [
          'id' => NULL,
        ],
        'carousel' => [
          'id' => NULL,
          'autoplay' => NULL,
          'interval' => 5000,
          'images' => [],
        ],
      ],
    ],
  ];
}

Functions