You are here

function homebox_theme in Homebox 8

Same name and namespace in other branches
  1. 6.3 homebox.module \homebox_theme()
  2. 6 homebox.module \homebox_theme()
  3. 6.2 homebox.module \homebox_theme()
  4. 7.3 homebox.module \homebox_theme()
  5. 7.2 homebox.module \homebox_theme()

Implements hook_theme().

File

./homebox.module, line 30
Homebox module hooks.

Code

function homebox_theme() {
  return [
    'homebox' => [
      'render element' => 'children',
    ],
    'homebox_block' => [
      'template' => 'homebox-block',
      'variables' => [
        'close_link' => NULL,
        'block_id' => NULL,
        'block_content' => NULL,
        'block_title' => NULL,
        'page' => NULL,
      ],
    ],
  ];
}