function TopBarItemBase::build
Overrides TopBarItemPluginInterface::build
2 methods override TopBarItemBase::build()
- PageActions::build in core/
modules/ navigation/ src/ Plugin/ TopBarItem/ PageActions.php - Builds and returns the renderable array for this top bar item plugin.
- TopBarItemInstantiation::build in core/
modules/ navigation/ tests/ navigation_test/ src/ Plugin/ TopBarItem/ TopBarItemInstantiation.php - Builds and returns the renderable array for this top bar item plugin.
File
-
core/
modules/ navigation/ src/ TopBarItemBase.php, line 31
Class
- TopBarItemBase
- Base class for top bar item plugins.
Namespace
Drupal\navigationCode
public abstract function build() : array;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.