diff --git a/entity_menu_links.module b/entity_menu_links.module index 4688045..a22deac 100644 --- a/entity_menu_links.module +++ b/entity_menu_links.module @@ -236,6 +236,11 @@ function entity_menu_links_linked_entity($menu_link, $universalised = FALSE) { if (empty($linked_entity) && preg_match($regexp, $menu_link->link_path, $matches)) { $type = $matches[1]; $id = $matches[2]; + + // If type is term, entity_get_info needs full namespace "taxonomy_term". + if ($type == 'term') { + $type = 'taxonomy_term'; + } $info = entity_get_info($type); if (!empty($info['uuid'])) {