You are here

function hook_menu_block_tree_alter in Menu Block 6.2

Same name and namespace in other branches
  1. 7.3 menu_block.api.php \hook_menu_block_tree_alter()
  2. 7.2 menu_block.api.php \hook_menu_block_tree_alter()

Alter the menu tree and its configuration before the tree is rendered.

Parameters

$tree: An array containing the unrendered menu tree.

$config: An array containing the configuration of the tree.

1 invocation of hook_menu_block_tree_alter()
menu_tree_build in ./menu_block.module
Build a menu tree based on the provided configuration.

File

./menu_block.api.php, line 20
Hooks provided by the Menu Block module.

Code

function hook_menu_block_tree_alter(&$tree, &$config) {
}