You are here

function _spartan_menu_build_tree in OpenPublic 7

Returns a menu tree, translated if available.

1 call to _spartan_menu_build_tree()
spartan_preprocess_region in themes/spartan/template.php
Implements hook_preprocess_region().

File

themes/spartan/template.php, line 110
Code for the spartan theme.

Code

function _spartan_menu_build_tree($menu_name, $parameters = array()) {
  $tree = menu_build_tree($menu_name, $parameters);
  if (function_exists('i18n_menu_localize_tree')) {
    $tree = i18n_menu_localize_tree($tree);
  }
  return $tree;
}