taxonomy_vocabulary_static_reset

7 taxonomy.module taxonomy_vocabulary_static_reset($ids = NULL)
8 taxonomy.module taxonomy_vocabulary_static_reset(array $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()

File

modules/taxonomy/taxonomy.module, line 855
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);
}
Login or register to post comments