function template_preprocess_navigation

Implements hook_preprocess_HOOK().

File

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

Code

function template_preprocess_navigation(array &$variables) : void {
    $variables['hide_logo'] = $variables['content']['#hide_logo'] ?? TRUE;
}

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