function _update_7002_taxonomy_get_vocabularies

Utility function: get the list of vocabularies directly from the database.

This function is valid for a database schema version 7002.

Related topics

1 call to _update_7002_taxonomy_get_vocabularies()
taxonomy_update_7004 in drupal-7.x/modules/taxonomy/taxonomy.install
Move taxonomy vocabulary associations for nodes to fields and field instances.

Archivo

drupal-7.x/modules/taxonomy/taxonomy.install, line 271
Install, update and uninstall functions for the taxonomy module.

Código

function _update_7002_taxonomy_get_vocabularies() {
  return db_query('SELECT v.* FROM {taxonomy_vocabulary} v ORDER BY v.weight, v.name')->fetchAllAssoc('vid', PDO::FETCH_OBJ);
}