_update_7002_taxonomy_get_vocabularies

7 taxonomy.install _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()

File

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

Code

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);
}
Login or register to post comments