We need to select different menus based on fairly odd criteria, such as host name. To achieve this we have added the following hook invokation to the end of the menu_block_get_config function:

function menu_block_get_config($delta = NULL) {
  :
  :
  $altered_config = module_invoke_all('menu_block_config_alter', $config);
  if ($altered_config)
    $config = $altered_config;
  
  return $config;
}

It would be great if this could be incorporated into menu_blocks.

Comments

gugrim’s picture

Version: 7.x-2.2 » 7.x-2.3