function taxonomy_vocabulary_static_reset

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.

File

modules/taxonomy/taxonomy.module, line 973
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);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!taxonomy!taxonomy.module/function/taxonomy_vocabulary_static_reset/7.x