taxonomy_vocabulary_static_reset(array $ids = NULL)
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 296
- Enables the organization of content into categories.
Code
function taxonomy_vocabulary_static_reset(array $ids = NULL) { \Drupal::entityManager()->getStorage('taxonomy_vocabulary')->resetCache($ids); }
Please login to continue.