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. Search main for to
  6. Other projects
Title Object type File name Summary
top-bar.pcss.css file core/themes/default_admin/css/layout/top-bar.pcss.css Navigation top bar layout styles.
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
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
TopBarItemBase::label function core/modules/navigation/src/TopBarItemBase.php
TopBarItemBase::region function core/modules/navigation/src/TopBarItemBase.php
TopBarItemBase::weight function core/modules/navigation/src/TopBarItemBase.php
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
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
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
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
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
TopBarItemManager::getDefinitionsByRegion function core/modules/navigation/src/TopBarItemManager.php
TopBarItemManager::getRenderedTopBarItemsByRegion function core/modules/navigation/src/TopBarItemManager.php
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
TopBarItemManagerTest::testDefinitions function core/modules/navigation/tests/src/Unit/TopBarItemManagerTest.php Tests definitions.
TopBarItemManagerTest::testGetDefinitionsByRegion function core/modules/navigation/tests/src/Unit/TopBarItemManagerTest.php Tests get definitions by region.
TopBarItemPluginInterface interface core/modules/navigation/src/TopBarItemPluginInterface.php Interface for top bar plugins.
TopBarItemPluginInterface.php file core/modules/navigation/src/TopBarItemPluginInterface.php
TopBarItemPluginInterface::build function core/modules/navigation/src/TopBarItemPluginInterface.php Builds and returns the renderable array for this top bar item plugin.

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