function TopBarItemPluginInterface::region

Returns the plugin region.

Return value

\Drupal\navigation\TopBarRegion The plugin region.

1 method overrides TopBarItemPluginInterface::region()
TopBarItemBase::region in core/modules/navigation/src/TopBarItemBase.php
Returns the plugin region.

File

core/modules/navigation/src/TopBarItemPluginInterface.php, line 26

Class

TopBarItemPluginInterface
Interface for top bar plugins.

Namespace

Drupal\navigation

Code

public function region() : TopBarRegion;

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