public VocabularyStorage::resetCache(array $ids = NULL)
Resets the internal, static entity cache.
Parameters
$ids: (optional) If specified, the cache is reset for the entities with the given ids only.
Overrides EntityStorageBase::resetCache
File
- core/modules/taxonomy/src/VocabularyStorage.php, line 15
Class
- VocabularyStorage
- Defines a storage handler class for taxonomy vocabularies.
Namespace
Drupal\taxonomy
Code
public function resetCache(array $ids = NULL) {
drupal_static_reset('taxonomy_vocabulary_get_names');
parent::resetCache($ids);
}
Please login to continue.