You are here

public function MenuLinkTreeHandlerInterface::processMenuLinkTree in Menu Item Extras 8.2

Process menu tree items. Add menu item content.

Parameters

array $items: Menu tree items.

string $menu_name: Menu name.

int $menu_level: Menu level number.

bool $show_item_link: Show or not item link.

Return value

array Returns modified menu tree items array.

1 method overrides MenuLinkTreeHandlerInterface::processMenuLinkTree()
MenuLinkTreeHandler::processMenuLinkTree in src/Service/MenuLinkTreeHandler.php
Process menu tree items. Add menu item content.

File

src/Service/MenuLinkTreeHandlerInterface.php, line 85

Class

MenuLinkTreeHandlerInterface
Interface MenuLinkTreeHandlerInteface.

Namespace

Drupal\menu_item_extras\Service

Code

public function processMenuLinkTree(array &$items, $menu_name, $menu_level = -1, $show_item_link = FALSE);