function webprofiler_theme in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/webprofiler.module \webprofiler_theme()
- 8 webprofiler/webprofiler.module \webprofiler_theme()
- 4.x 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,
],
],
];
}