You are here

function taxonomy_menu_menu in Taxonomy menu 5

Same name and namespace in other branches
  1. 6.3 taxonomy_menu.module \taxonomy_menu_menu()
  2. 6 taxonomy_menu.module \taxonomy_menu_menu()

Implementation of hook_menu().

Most of the heavy lifting of the module is done here.

File

./taxonomy_menu.module, line 76
taxonomy_menu.module @author Jonathan Chaffer <jchaffer@structureinteractive.com> @author Bruno Massa <http://drupal.org/user/67164> It Generates menu links for all taxonomy terms

Code

function taxonomy_menu_menu($may_cache) {
  if (!empty($may_cache)) {
    require_once drupal_get_path('module', 'taxonomy_menu') . '/taxonomy_menu.inc';
    return _taxonomy_menu_menu();
  }
}