Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TopBarItemManagerInterface.php

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;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal