function _term_search_default_vids in Term Search 7
Gets the default formatted list of vocabularies. All are selected by default.
4 calls to _term_search_default_vids()
- term_search_search_admin in ./
term_search.module - Implements hook_search_admin().
- term_search_search_execute in ./
term_search.module - Implements hook_search_execute().
- term_search_search_status in ./
term_search.module - Implements hook_search_status().
- term_search_update_index in ./
term_search.module - Implements hook_update_index().
File
- ./
term_search.module, line 223 - Functions to index and search taxonomy terms.
Code
function _term_search_default_vids() {
$default = array();
$vocabularies = taxonomy_get_vocabularies();
foreach ($vocabularies as $vid => $vocabulary) {
$default[$vid] = $vid;
}
return $default;
}