function TopBarItemManagerInterface::getRenderedTopBarItemsByRegion
Same name and namespace in other branches
- 11.x core/modules/navigation/src/TopBarItemManagerInterface.php \Drupal\navigation\TopBarItemManagerInterface::getRenderedTopBarItemsByRegion()
Gets the top bar items prepared as render array.
Parameters
\Drupal\navigation\TopBarRegion $region: The region.
Return value
array An array of rendered top bar items, keyed by the plugin ID and sorted by weight.
1 method overrides TopBarItemManagerInterface::getRenderedTopBarItemsByRegion()
- TopBarItemManager::getRenderedTopBarItemsByRegion in core/
modules/ navigation/ src/ TopBarItemManager.php - Gets the top bar items prepared as render array.
File
-
core/
modules/ navigation/ src/ TopBarItemManagerInterface.php, line 33
Class
- TopBarItemManagerInterface
- Top bar item plugin manager.
Namespace
Drupal\navigationCode
public function getRenderedTopBarItemsByRegion(TopBarRegion $region) : array;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.