You are here

public function FootermapInterface::buildMenu in footermap: a footer site map 8

Recursively build footer site map.

This method should modify the object variable $mapref.

This deprecates footermap_get_menu().

Parameters

array &$tree: A reference to the menu site tree for a particular menu.

array &$mapref: A reference to the current menu item's children or the root of the map.

1 method overrides FootermapInterface::buildMenu()
FootermapBlock::buildMenu in src/Plugin/Block/FootermapBlock.php
Recursively build footer site map.

File

src/Plugin/Block/FootermapInterface.php, line 38

Class

FootermapInterface
Interface for Footermap clasess.

Namespace

Drupal\footermap\Plugin\Block

Code

public function buildMenu(array &$tree, array &$mapref);