1.20.x taxonomy.module | taxonomy_vocabulary_delete_multiple(array $vocabulary_names) |
Deletes vocabularies.
Parameters
array $vocabulary_names: The vocabulary machine names.
File
- modules/
taxonomy/ taxonomy.module, line 626 - Enables the organization of content into categories.
Code
function taxonomy_vocabulary_delete_multiple(array $vocabulary_names) {
foreach ($vocabulary_names as $vocabulary_name) {
taxonomy_vocabulary_delete($vocabulary_name);
}
}