VocabularyStorage::resetCache

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);
}
doc_Drupal
2016-10-29 09:56:35
Comments
Leave a Comment

Please login to continue.