You are here

function fancybox_theme in fancyBox 7.2

Same name and namespace in other branches
  1. 6 fancybox.module \fancybox_theme()

Implements hook_theme().

File

./fancybox.module, line 189
Provides the fancyBox jQuery plugin, a tool that offers a nice and elegant way to add zooming functionality for images, html content and multi-media on your webpages, and an extensive settings page for configuring fancyBox settings and how fancyBox…

Code

function fancybox_theme() {
  return array(
    'fancybox_image_formatter' => array(
      'variables' => array(
        'item' => NULL,
        'entity' => NULL,
        'entity_type' => NULL,
        'field' => array(),
        'display_settings' => array(),
      ),
      'file' => 'fancybox.theme.inc',
    ),
    'fancybox_imagefield' => array(
      'variables' => array(
        'image' => array(),
        'path' => NULL,
        'caption' => NULL,
        'group' => NULL,
      ),
      'file' => 'fancybox.theme.inc',
    ),
    'fancybox_insert_image' => array(
      'variables' => array(
        'item' => NULL,
        'widget' => NULL,
      ),
      'template' => 'fancybox-insert-image',
      'file' => 'fancybox.theme.inc',
    ),
  );
}