You are here

function taxonomy_manager_admin_menu_map in Taxonomy Manager 7

Same name and namespace in other branches
  1. 8 taxonomy_manager.module \taxonomy_manager_admin_menu_map()
  2. 2.0.x taxonomy_manager.module \taxonomy_manager_admin_menu_map()

Implements hook_admin_menu_map().

File

./taxonomy_manager.module, line 96
Taxonomy Manager

Code

function taxonomy_manager_admin_menu_map() {
  if (!user_access('administer taxonomy')) {
    return;
  }
  $map['admin/structure/taxonomy_manager/voc/%taxonomy_vocabulary_machine_name'] = array(
    'parent' => 'admin/structure/taxonomy_manager/voc',
    'arguments' => array(
      array(
        '%taxonomy_vocabulary_machine_name' => array_keys(taxonomy_vocabulary_get_names()),
      ),
    ),
  );
  return $map;
}