Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Other projects
Title Object type File name Summary
top-bar-page-action.html.twig file core/modules/navigation/templates/top-bar-page-action.html.twig Default theme implementation for a single navigation top bar page action.
top-bar-page-actions.html.twig file core/modules/navigation/templates/top-bar-page-actions.html.twig Default theme implementation for navigation top bar page actions.
top-bar-page-actions.html.twig file core/themes/stable9/templates/navigation/top-bar-page-actions.html.twig Default theme implementation for navigation top bar page actions.
top-bar.css file core/modules/navigation/css/components/top-bar.css /*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
:root {
--admin-toolbar-top-bar-height: calc(4 * var(--admin-toolbar-rem));
}
:is(#extra-specificity-hack,…
top-bar.html.twig file core/modules/navigation/templates/top-bar.html.twig Default theme implementation for the navigation top bar.
top-bar.html.twig file core/themes/stable9/templates/navigation/top-bar.html.twig Default theme implementation for the navigation top bar.
top-bar.pcss.css file core/modules/navigation/css/components/top-bar.pcss.css @import "../base/media-queries.pcss.css";

:root {
--admin-toolbar-top-bar-height: calc(4 * var(--admin-toolbar-rem));
}
:is(#extra-specificity-hack, [data-drupal-admin-styles]) {
&.top-bar {
position: relative;
z-index:…
TopBar class core/modules/navigation/src/Element/TopBar.php Provides a render element for the default Drupal toolbar.
TopBar.php file core/modules/navigation/src/Element/TopBar.php
TopBar::getInfo function core/modules/navigation/src/Element/TopBar.php Returns the element properties for this element.
TopBar::preRenderTopBar function core/modules/navigation/src/Element/TopBar.php Builds the TopBar as a structured array ready for rendering.
TopBar::topBarItemManager function core/modules/navigation/src/Element/TopBar.php Wraps the top bar item manager.
TopBarItem class core/modules/navigation/src/Attribute/TopBarItem.php The top bar item attribute.
TopBarItem.php file core/modules/navigation/src/Attribute/TopBarItem.php
TopBarItem::__construct function core/modules/navigation/src/Attribute/TopBarItem.php Constructs a new TopBarItem instance.
TopBarItemBase class core/modules/navigation/src/TopBarItemBase.php Base class for top bar item plugins.
TopBarItemBase.php file core/modules/navigation/src/TopBarItemBase.php
TopBarItemBase::build function core/modules/navigation/src/TopBarItemBase.php Builds and returns the renderable array for this top bar item plugin.
TopBarItemBase::label function core/modules/navigation/src/TopBarItemBase.php Returns the translated plugin label.
TopBarItemBase::region function core/modules/navigation/src/TopBarItemBase.php Returns the plugin region.
TopBarItemBase::weight function core/modules/navigation/src/TopBarItemBase.php Returns the plugin weight.
TopBarItemBaseTest class core/modules/navigation/tests/src/Unit/TopBarItemBaseTest.php Tests Drupal\navigation\TopBarItemBase.
TopBarItemBaseTest.php file core/modules/navigation/tests/src/Unit/TopBarItemBaseTest.php
TopBarItemBaseTest::testTopBarItemBase function core/modules/navigation/tests/src/Unit/TopBarItemBaseTest.php Tests top bar item base.
TopBarItemHigh class core/modules/navigation/tests/navigation_test/src/Plugin/TopBarItem/TopBarItemHigh.php Provides a top bar item plugin for testing the top bar item weight.
TopBarItemHigh.php file core/modules/navigation/tests/navigation_test/src/Plugin/TopBarItem/TopBarItemHigh.php
TopBarItemHigh::build function core/modules/navigation/tests/navigation_test/src/Plugin/TopBarItem/TopBarItemHigh.php Builds and returns the renderable array for this top bar item plugin.
TopBarItemInstantiation class core/modules/navigation/tests/navigation_test/src/Plugin/TopBarItem/TopBarItemInstantiation.php Provides a top bar item plugin for testing the top bar.
TopBarItemInstantiation.php file core/modules/navigation/tests/navigation_test/src/Plugin/TopBarItem/TopBarItemInstantiation.php
TopBarItemInstantiation::build function core/modules/navigation/tests/navigation_test/src/Plugin/TopBarItem/TopBarItemInstantiation.php Builds and returns the renderable array for this top bar item plugin.
TopBarItemLinkAttribute class core/modules/navigation/tests/navigation_test_top_bar/src/Plugin/TopBarItem/TopBarItemLinkAttribute.php Provides a top bar item plugin for testing link attributes in the top bar.
TopBarItemLinkAttribute.php file core/modules/navigation/tests/navigation_test_top_bar/src/Plugin/TopBarItem/TopBarItemLinkAttribute.php
TopBarItemLinkAttribute::build function core/modules/navigation/tests/navigation_test_top_bar/src/Plugin/TopBarItem/TopBarItemLinkAttribute.php Builds and returns the renderable array for this top bar item plugin.
TopBarItemLow class core/modules/navigation/tests/navigation_test/src/Plugin/TopBarItem/TopBarItemLow.php Provides a top bar item plugin for testing the top bar item weight.
TopBarItemLow.php file core/modules/navigation/tests/navigation_test/src/Plugin/TopBarItem/TopBarItemLow.php
TopBarItemLow::build function core/modules/navigation/tests/navigation_test/src/Plugin/TopBarItem/TopBarItemLow.php Builds and returns the renderable array for this top bar item plugin.
TopBarItemManager class core/modules/navigation/src/TopBarItemManager.php Top bar item plugin manager.
TopBarItemManager.php file core/modules/navigation/src/TopBarItemManager.php
TopBarItemManager::getDefinitions function core/modules/navigation/src/TopBarItemManager.php Gets the definition of all plugins for this type.
TopBarItemManager::getDefinitionsByRegion function core/modules/navigation/src/TopBarItemManager.php Gets the top bar item plugins by region.
TopBarItemManager::getRenderedTopBarItemsByRegion function core/modules/navigation/src/TopBarItemManager.php Gets the top bar items prepared as render array.
TopBarItemManager::__construct function core/modules/navigation/src/TopBarItemManager.php Constructs the object.
TopBarItemManagerInterface interface core/modules/navigation/src/TopBarItemManagerInterface.php Top bar item plugin manager.
TopBarItemManagerInterface.php file core/modules/navigation/src/TopBarItemManagerInterface.php
TopBarItemManagerInterface::getDefinitionsByRegion function core/modules/navigation/src/TopBarItemManagerInterface.php Gets the top bar item plugins by region.
TopBarItemManagerInterface::getRenderedTopBarItemsByRegion function core/modules/navigation/src/TopBarItemManagerInterface.php Gets the top bar items prepared as render array.
TopBarItemManagerTest class core/modules/navigation/tests/src/Unit/TopBarItemManagerTest.php Tests Drupal\navigation\TopBarItemManager.
TopBarItemManagerTest.php file core/modules/navigation/tests/src/Unit/TopBarItemManagerTest.php
TopBarItemManagerTest::$manager property core/modules/navigation/tests/src/Unit/TopBarItemManagerTest.php The top bar item manager under test.
TopBarItemManagerTest::setUp function core/modules/navigation/tests/src/Unit/TopBarItemManagerTest.php

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