You are here

function taxonomy_vocabulary_static_reset in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/taxonomy.module \taxonomy_vocabulary_static_reset()

Clear all static cache variables for vocabularies.

Parameters

$ids: An array of ids to reset in the entity cache.

File

core/modules/taxonomy/taxonomy.module, line 286
Enables the organization of content into categories.

Code

function taxonomy_vocabulary_static_reset(array $ids = NULL) {
  \Drupal::entityManager()
    ->getStorage('taxonomy_vocabulary')
    ->resetCache($ids);
}