You are here

function taxonomy_csv_vocabulary_machine_name_check in Taxonomy CSV import/export 7.5

Same name and namespace in other branches
  1. 7.4 taxonomy_csv.vocabulary.api.inc \taxonomy_csv_vocabulary_machine_name_check()

Checks if a name is a vocabulary machine_name.

1 call to taxonomy_csv_vocabulary_machine_name_check()
_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 85
Prepare and manage vocabularies.

Code

function taxonomy_csv_vocabulary_machine_name_check($name) {
  return taxonomy_vocabulary_machine_name_load($name) != FALSE;
}