You are here

function taxonomy_admin_menu_map in Administration menu 7.3

Implements hook_admin_menu_map() on behalf of Taxonomy module.

File

./admin_menu.map.inc, line 120
Implements hook_admin_menu_map() on behalf of core modules.

Code

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