You are here

function getdirections_check_vocabulary in Get Directions 7.3

Check that a taxonomy type is fieldable.

1 call to getdirections_check_vocabulary()
getdirections_get_vocabularies in ./getdirections.module
Provide an array of vocabularies.

File

./getdirections.module, line 3006
Fetches google map directions.

Code

function getdirections_check_vocabulary($machine_name) {
  if (module_exists('taxonomy')) {
    return getdirections_check_entity_type('taxonomy_term', $machine_name);
  }
  return FALSE;
}