function webprofiler_theme in Devel 4.x
Same name and namespace in other branches
- 8.3 webprofiler/webprofiler.module \webprofiler_theme()
- 8 webprofiler/webprofiler.module \webprofiler_theme()
- 8.2 webprofiler/webprofiler.module \webprofiler_theme()
Implements hook_theme().
File
- webprofiler/
webprofiler.module, line 11 - Legacy Webprofiler module file.
Code
function webprofiler_theme() {
return [
'webprofiler_loader' => [
'template' => 'Profiler/webprofiler_loader',
'variables' => [
'token' => NULL,
'profiler_url' => NULL,
],
],
'webprofiler_toolbar' => [
'template' => 'Profiler/webprofiler_toolbar',
'variables' => [
'token' => NULL,
'toolbar' => NULL,
],
],
'webprofiler_panel' => [
'template' => 'Profiler/webprofiler_panel',
'variables' => [
'panel' => NULL,
],
],
'webprofiler_dashboard' => [
'template' => 'Profiler/webprofiler_dashboard',
'variables' => [
'profile' => [],
'panels' => [],
'spinner_path' => NULL,
],
],
];
}