You are here

function i18n_menu_tree_all_data in Internationalization 7

Filter out menu items that have a different language

1 call to i18n_menu_tree_all_data()
_i18n_menu_get_options in i18n_menu/i18n_menu.admin.inc
Helper function to get the items of the given menu.

File

i18n_menu/i18n_menu.admin.inc, line 184
Helper functions for menu administration.

Code

function i18n_menu_tree_all_data($menu_name, $langcode, $link = NULL, $max_depth = NULL) {
  $tree = menu_tree_all_data($menu_name, $link, $max_depth);
  return _i18n_menu_tree_filter_items($tree, $langcode);
}