You are here

function _delete_all_get_vocabulary in Delete all 5

Function to get array of taxonomy terms

1 call to _delete_all_get_vocabulary()
delete_all_bulk_delete_content in ./delete_all.module
Form function for bulk delete content page

File

./delete_all.module, line 165

Code

function _delete_all_get_vocabulary() {
  $terms = taxonomy_get_vocabularies();
  $options = array();
  foreach ($terms as $term) {
    $options[$term->vid] = $term->name;
  }
  return $options;
}