You are here

function photoswipe_theme in PhotoSwipe 7.2

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 photoswipe.module \photoswipe_theme()
  5. 3.x photoswipe.module \photoswipe_theme()

Implements hook_theme().

File

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

Code

function photoswipe_theme() {
  return array(
    'photoswipe_imagefield' => array(
      'variables' => array(
        'image' => array(),
        'path' => NULL,
        'dimension' => NULL,
        'title' => NULL,
        'gid' => NULL,
      ),
      'file' => 'photoswipe.theme.inc',
    ),
    'photoswipe_image_formatter' => array(
      'variables' => array(
        'item' => NULL,
        'node' => NULL,
        'field' => array(),
        'display_settings' => array(),
        'delta' => NULL,
      ),
      'file' => 'photoswipe.theme.inc',
    ),
    'photoswipe_container' => array(
      'variables' => array(),
      'file' => 'photoswipe.theme.inc',
      'template' => 'photoswipe-container',
    ),
  );
}