You are here

function tb_megamenu_get_menu_item in The Better Mega Menu 7

1 call to tb_megamenu_get_menu_item()
template_preprocess_tb_megamenu_subnav in ./tb_megamenu.themes.inc

File

./tb_megamenu.functions.inc, line 190

Code

function tb_megamenu_get_menu_item($menu_name, $mlid) {
  $tree = tb_megamenu_get_tree($menu_name);
  if (function_exists('i18n_menu_localize_tree')) {
    $tree = i18n_menu_localize_tree($tree);
  }
  $item = tb_megamenu_find_menu_item($tree, $mlid);
  return $item;
}