You are here

public function VocabularyStorage::resetCache in Drupal 8

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);
}