You are here

function xmlsitemap_menu_menu_link_uri in XML sitemap 7.2

Same name and namespace in other branches
  1. 6.2 xmlsitemap_menu/xmlsitemap_menu.module \xmlsitemap_menu_menu_link_uri()

Entity URI callback.

1 string reference to 'xmlsitemap_menu_menu_link_uri'
xmlsitemap_menu_entity_info_alter in xmlsitemap_menu/xmlsitemap_menu.module
Implements hook_entity_info_alter().

File

xmlsitemap_menu/xmlsitemap_menu.module, line 71
Main file for XML sitemap menu.

Code

function xmlsitemap_menu_menu_link_uri($menu_item) {
  return is_array($menu_item) ? $menu_item['href'] : $menu_item->href;
}