function navigation_theme

Implements hook_theme().

File

core/modules/navigation/navigation.module, line 90

Code

function navigation_theme($existing, $type, $theme, $path) {
    $items['top_bar'] = [
        'variables' => [
            'local_tasks' => [],
        ],
    ];
    $items['top_bar_local_tasks'] = [
        'variables' => [
            'local_tasks' => [],
        ],
    ];
    $items['top_bar_local_task'] = [
        'variables' => [
            'link' => [],
        ],
    ];
    $items['big_pipe_interface_preview__navigation_shortcut_lazy_builder_lazyLinks__Shortcuts'] = [
        'variables' => [
            'callback' => NULL,
            'arguments' => NULL,
            'preview' => NULL,
        ],
        'base hook' => 'big_pipe_interface_preview',
    ];
    $items['block__navigation'] = [
        'render element' => 'elements',
        'base hook' => 'block',
    ];
    $items['navigation_menu'] = [
        'base hook' => 'menu',
        'variables' => [
            'menu_name' => NULL,
            'items' => [],
            'attributes' => [],
        ],
    ];
    $items['menu_region__footer'] = [
        'variables' => [
            'help' => NULL,
            'items' => [],
            'title' => NULL,
            'menu_name' => NULL,
        ],
    ];
    return $items;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.