taxonomy_vocabulary_static_reset(array $ids = NULL)
Clear all static cache variables for vocabularies.
$ids: An array of ids to reset in the entity cache.
function taxonomy_vocabulary_static_reset(array $ids = NULL) { \Drupal::entityManager()->getStorage('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/core!modules!taxonomy!taxonomy.module/function/taxonomy_vocabulary_static_reset/8.1.x