function hook_vocab_get_vocabularies

3.x tripal.terms.api.inc hook_vocab_get_vocabularies()

Retrieves the list of vocabularies that are available on the site.

Return value

An array of vocabularies where each entry in the array is compatible with the array returned by the tripal_get_vocabulary_details() function.

Related topics

1 function implements hook_vocab_get_vocabularies()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

tripal_chado_vocab_get_vocabularies in tripal_chado/includes/tripal_chado.vocab_storage.inc
Implements hook_vocab_get_vocabularies().

File

tripal/api/tripal.terms.api.inc, line 278
Provides an application programming interface (API) for working with controlled vocaublary terms.

Code

function hook_vocab_get_vocabularies() {
  // See the tripal_chado_vocab_get_vocabularies() function for an example.
}