public function TBMegaMenuBuilderInterface::buildPageTrail in The Better Mega Menu 2.x
Same name and namespace in other branches
- 8 src/TBMegaMenuBuilderInterface.php \Drupal\tb_megamenu\TBMegaMenuBuilderInterface::buildPageTrail()
Builds the page trail for marking active items.
Parameters
\Drupal\Core\Menu\MenuLinkTreeElement[] $menu_items: The menu items to use.
1 method overrides TBMegaMenuBuilderInterface::buildPageTrail()
- TBMegaMenuBuilder::buildPageTrail in src/
TBMegaMenuBuilder.php - Builds the page trail for marking active items.
File
- src/
TBMegaMenuBuilderInterface.php, line 186
Class
- TBMegaMenuBuilderInterface
- Provides an interface defining a TB MegaMenu builder.
Namespace
Drupal\tb_megamenuCode
public function buildPageTrail(array $menu_items);