You are here

function lightgallery_theme in Lightgallery 8

Same name and namespace in other branches
  1. 7 lightgallery.module \lightgallery_theme()

Implements hook_theme().

File

./lightgallery.module, line 28
Light Gallery module file.

Code

function lightgallery_theme() {
  return [
    'lightgallery' => [
      'variables' => [
        'items' => [],
        'id' => NULL,
      ],
      'template' => 'lightgallery',
    ],
  ];
}