function 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.

File

core/modules/navigation/src/TopBarItemManagerInterface.php, line 33

Class

TopBarItemManagerInterface
Top bar item plugin manager.

Namespace

Drupal\navigation

Code

public function getRenderedTopBarItemsByRegion(TopBarRegion $region) : array;

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