You are here

function colorbox_theme in Colorbox 8

Same name and namespace in other branches
  1. 6 colorbox.module \colorbox_theme()
  2. 7.2 colorbox.module \colorbox_theme()
  3. 7 colorbox.module \colorbox_theme()

Implements hook_theme().

File

./colorbox.module, line 34
A light-weight, customizable lightbox plugin.

Code

function colorbox_theme() {
  return [
    'colorbox_formatter' => [
      'variables' => [
        'item' => NULL,
        'item_attributes' => NULL,
        'entity' => NULL,
        'settings' => NULL,
      ],
      'file' => 'colorbox.theme.inc',
    ],
  ];
}