function HelpHooks::theme
Implements hook_theme().
File
-
core/
modules/ help/ src/ Hook/ HelpHooks.php, line 91
Class
- HelpHooks
- Hook implementations for help.
Namespace
Drupal\help\HookCode
public function theme($existing, $type, $theme, $path) : array {
return [
'help_section' => [
'variables' => [
'title' => NULL,
'description' => NULL,
'links' => NULL,
'empty' => NULL,
],
],
'help_topic' => [
'variables' => [
'body' => [],
'related' => [],
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.