You are here

function photoswipe_theme in PhotoSwipe 3.x

Same name and namespace in other branches
  1. 8.2 photoswipe.module \photoswipe_theme()
  2. 8 photoswipe.module \photoswipe_theme()
  3. 6 photoswipe.module \photoswipe_theme()
  4. 7.2 photoswipe.module \photoswipe_theme()
  5. 7 photoswipe.module \photoswipe_theme()

Implements hook_theme().

File

./photoswipe.module, line 32
Photswipe integration with Drupal module.

Code

function photoswipe_theme() {
  return [
    'photoswipe_image_formatter' => [
      'variables' => [
        'item' => NULL,
        'entity' => NULL,
        'display_settings' => [],
        'delta' => NULL,
      ],
      'file' => 'photoswipe.theme.inc',
    ],
    'photoswipe_responsive_image_formatter' => [
      'variables' => [
        'item' => NULL,
        'entity' => NULL,
        'display_settings' => [],
        'delta' => NULL,
      ],
      'template' => 'photoswipe-image-formatter',
      'file' => 'photoswipe.theme.inc',
    ],
    'photoswipe_container' => [
      'variables' => [],
    ],
  ];
}