function taxonomy_csv_vocabulary_name_check in Taxonomy CSV import/export 7.4
Same name and namespace in other branches
- 7.5 taxonomy_csv.vocabulary.api.inc \taxonomy_csv_vocabulary_name_check()
Check if a name is a vocabulary name.
2 calls to taxonomy_csv_vocabulary_name_check()
- taxonomy_csv_thesaurus_create in ./
taxonomy_csv.vocabulary.api.inc - Prepare a regular thesaurus (Drupal 6 vocabulary) from a basic D7 vocabulary.
- _taxonomy_csv_vocabulary_name_create in ./
taxonomy_csv.vocabulary.api.inc - Helper to create an unused vocabulary name from a string.
File
- ./
taxonomy_csv.vocabulary.api.inc, line 237 - Prepare and manage vocabularies.
Code
function taxonomy_csv_vocabulary_name_check($name) {
return taxonomy_vocabulary_load_multiple(FALSE, array(
'name' => $name,
)) != FALSE;
}