You are here

public function MenuSelectTreeBuilderInterface::buildRenderedMenu in Menu Select 8

Same name and namespace in other branches
  1. 2.0.x src/MenuSelectTreeBuilderInterface.php \Drupal\menu_select\MenuSelectTreeBuilderInterface::buildRenderedMenu()

Builds a renderable array of the given menu tree.

Parameters

array $menu_tree: The menu tree.

string $menu_id: The machine name of the menu being built.

string $menu_label: The label of the menu being built.

string $current_link_id: The current link plugin ID, used for exclusion.

Return value

array A renderable array.

1 method overrides MenuSelectTreeBuilderInterface::buildRenderedMenu()
MenuSelectTreeBuilder::buildRenderedMenu in src/MenuSelectTreeBuilder.php
Builds a renderable array of the given menu tree.

File

src/MenuSelectTreeBuilderInterface.php, line 38

Class

MenuSelectTreeBuilderInterface
An interface for the menu select tree builder service.

Namespace

Drupal\menu_select

Code

public function buildRenderedMenu(array $menu_tree, $menu_id, $menu_label, $current_link_id);