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 modules/
taxonomy/ taxonomy.install - Move taxonomy vocabulary associations for nodes to fields and field instances.
File
-
modules/
taxonomy/ taxonomy.install, line 271
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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.