You are here

function juicebox_theme in Juicebox HTML5 Responsive Image Galleries 8.3

Same name and namespace in other branches
  1. 8.2 juicebox.module \juicebox_theme()
  2. 7.2 juicebox.module \juicebox_theme()
  3. 7 juicebox.module \juicebox_theme()

Implements hook_theme().

File

./juicebox.module, line 14
Module file for Juicebox.

Code

function juicebox_theme() {
  return [
    // Template for the main Juicebox embed markup.
    'juicebox_embed_markup' => [
      'template' => 'juicebox-embed-markup',
      'file' => 'templates/juicebox.theme.inc',
      'render element' => 'element',
    ],
    // Field template for use with relative-width galleries.
    'field__juicebox_relative_width' => [
      'base hook' => 'field',
    ],
  ];
}