You are here

public function MenuTreeStorageMenuHelper::__construct in Menu Trail By Path 8

MenuTreeStorageMenuHelper constructor.

Parameters

\Drupal\Core\Menu\MenuLinkManagerInterface $menu_link_manager:

\Drupal\Core\Menu\MenuTreeStorageInterface $menu_tree_storage:

File

src/Menu/MenuTreeStorageMenuHelper.php, line 24

Class

MenuTreeStorageMenuHelper

Namespace

Drupal\menu_trail_by_path\Menu

Code

public function __construct(MenuLinkManagerInterface $menu_link_manager, MenuTreeStorageInterface $menu_tree_storage) {
  $this->menuLinkManager = $menu_link_manager;
  $this->menuTreeStorage = $menu_tree_storage;
}