function taxonomy_csv_vocabulary_check_geotaxonomy in Taxonomy CSV import/export 6.3
Same name and namespace in other branches
- 6.5 formats/geotaxonomy.format.inc \taxonomy_csv_vocabulary_check_geotaxonomy()
- 6.2 formats/geotaxonomy.format.inc \taxonomy_csv_vocabulary_check_geotaxonomy()
- 6.4 formats/geotaxonomy.format.inc \taxonomy_csv_vocabulary_check_geotaxonomy()
Check if a vocabulary is a geotaxonomy one.
Parameters
$vid: Vocabulary id to check.
Return value
TRUE if vocabulary has specific fields, FALSE else.
File
- formats/
geotaxonomy.format.inc, line 47 - Plug-in that manages geotaxonomy vocabularies import/export.
Code
function taxonomy_csv_vocabulary_check_geotaxonomy($vid) {
$vocabulary_settings = variable_get('geotaxonomy_vocabularies', array());
return isset($vocabulary_settings[$vid]) && $vocabulary_settings[$vid] == 1;
}