You are here

function lightgallery_theme in Lightgallery 7

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

Implements hook_theme().

File

./lightgallery.module, line 70

Code

function lightgallery_theme() {
  return array(
    'lightgallery_image_formatter' => array(
      'variables' => array(
        'items' => NULL,
        'entity_type' => NULL,
        'entity' => NULL,
        'node' => NULL,
        // Left for legacy support.
        'field' => array(),
        'display_settings' => array(),
      ),
      'file' => 'includes/lightgallery.theme.inc',
    ),
    'lightgallery_item_list' => array(
      'variables' => array(
        'items' => array(),
        'unque_id' => NULL,
      ),
      'path' => drupal_get_path('module', 'lightgallery') . '/templates',
      'template' => 'lightgallery-item-list',
    ),
  );
}