You are here

function hook_menu_block_tree_alter in Menu Block 7.3

Same name and namespace in other branches
  1. 6.2 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_block_data in ./menu_block.module
Gets the data structure representing a menu tree for the given configuration.

File

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

Code

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