You are here

function varnish_theme in Varnish 8

Same name and namespace in other branches
  1. 6 varnish.module \varnish_theme()
  2. 7 varnish.module \varnish_theme()

Implements hook_theme().

File

./varnish.module, line 31
varnish.module

Code

function varnish_theme() {
  return [
    'varnish_status' => [
      'variables' => [
        'status' => [],
        'version' => 3,
      ],
      'function' => 'build_varnish_status',
    ],
  ];
}