You are here

function taxonomy_manager_voc_list in Taxonomy Manager 5

Same name and namespace in other branches
  1. 6.2 taxonomy_manager.admin.inc \taxonomy_manager_voc_list()
  2. 6 taxonomy_manager.admin.inc \taxonomy_manager_voc_list()
  3. 7 taxonomy_manager.admin.inc \taxonomy_manager_voc_list()

list of vocabularies, which link to Taxonomy Manager interface

1 string reference to 'taxonomy_manager_voc_list'
taxonomy_manager_menu in ./taxonomy_manager.module
Implementation of hook_menu

File

./taxonomy_manager.module, line 113
Taxonomy Manager

Code

function taxonomy_manager_voc_list() {
  $vocabularies = taxonomy_get_vocabularies();
  $voc_list = array();
  foreach ($vocabularies as $vocabulary) {
    $voc_list[] = l($vocabulary->name, 'admin/content/taxonomy_manager/' . $vocabulary->vid);
  }
  return theme('item_list', $voc_list, t("Vocabularies:"));
}