function TopBarItemPluginInterface::weight

Returns the plugin weight.

Return value

int The plugin weight.

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

File

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

Class

TopBarItemPluginInterface
Interface for top bar plugins.

Namespace

Drupal\navigation

Code

public function weight() : int;

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