function help_theme

Same name in other branches
  1. 9 core/modules/help/help.module \help_theme()
  2. 8.9.x core/modules/help/help.module \help_theme()
  3. 11.x core/modules/help/help.module \help_theme()

Implements hook_theme().

File

core/modules/help/help.module, line 68

Code

function help_theme($existing, $type, $theme, $path) {
    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.