1 admin_bar.map.inc | taxonomy_admin_bar_map() |
Implements hook_admin_bar_map() on behalf of Taxonomy module.
File
- core/
modules/ admin_bar/ admin_bar.map.inc, line 140 - Implements hook_admin_bar_map() on behalf of core modules.
Code
function taxonomy_admin_bar_map() {
if (!taxonomy_vocabulary_overview_access()) {
return;
}
$map['admin/structure/taxonomy/%taxonomy_vocabulary'] = array(
'parent' => 'admin/structure/taxonomy',
'arguments' => array(
array('%taxonomy_vocabulary' => array_keys(taxonomy_vocabulary_load_multiple(FALSE))),
),
);
return $map;
}