function TopBarItemManagerInterface::getDefinitionsByRegion

Same name and namespace in other branches
  1. 11.x core/modules/navigation/src/TopBarItemManagerInterface.php \Drupal\navigation\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.

1 method overrides TopBarItemManagerInterface::getDefinitionsByRegion()
TopBarItemManager::getDefinitionsByRegion in core/modules/navigation/src/TopBarItemManager.php
Gets the top bar item plugins by region.

File

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

Class

TopBarItemManagerInterface
Top bar item plugin manager.

Namespace

Drupal\navigation

Code

public function getDefinitionsByRegion(TopBarRegion $region) : array;

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