function TopBarItemManagerInterface::getDefinitionsByRegion
Gets the top bar item plugins by region.
Parameters
\Drupal\navigation\TopBarRegion $region: The region.
Return value
array A list of top bar item plugin definitions.
File
-
core/
modules/ navigation/ src/ TopBarItemManagerInterface.php, line 21
Class
- TopBarItemManagerInterface
- Top bar item plugin manager.
Namespace
Drupal\navigationCode
public function getDefinitionsByRegion(TopBarRegion $region) : array;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.