function ThemeSuggestionHooks::topBar

Same name and namespace in other branches
  1. 11.x core/themes/admin/src/Hook/ThemeSuggestionHooks.php \Drupal\admin\Hook\ThemeSuggestionHooks::topBar()

Implements hook_theme_suggestions_HOOK_alter() for top_bar.

Attributes

#[Hook('theme_suggestions_top_bar_alter')]

File

core/themes/admin/src/Hook/ThemeSuggestionHooks.php, line 115

Class

ThemeSuggestionHooks
Provides theme suggestion hook implementations.

Namespace

Drupal\admin\Hook

Code

public function topBar(array &$suggestions) : void {
  $suggestions[] = 'top_bar__gin';
}

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