function taxonomy_vocabulary_static_reset
7.x taxonomy.module | taxonomy_vocabulary_static_reset($ids = NULL) |
Clear all static cache variables for vocabularies.
Parameters
$ids: An array of ids to reset in entity controller cache.
2 calls to taxonomy_vocabulary_static_reset()
- taxonomy_vocabulary_delete in drupal-7.x/
modules/ taxonomy/ taxonomy.module - Delete a vocabulary.
- taxonomy_vocabulary_save in drupal-7.x/
modules/ taxonomy/ taxonomy.module - Saves a vocabulary.
File
- drupal-7.x/
modules/ taxonomy/ taxonomy.module, line 962 - Enables the organization of content into categories.
Code
function taxonomy_vocabulary_static_reset($ids = NULL) {
drupal_static_reset('taxonomy_vocabulary_get_names');
entity_get_controller('taxonomy_vocabulary')->resetCache($ids);
}