public function TermStorageController::resetCache

Overrides Drupal\Core\Entity\DatabaseStorageController::resetCache().

Overrides EntityStorageControllerBase::resetCache

File

drupal/core/modules/taxonomy/lib/Drupal/taxonomy/TermStorageController.php, line 104
Definition of Drupal\taxonomy\TermStorageController.

Class

TermStorageController
Defines a Controller class for taxonomy terms.

Namespace

Drupal\taxonomy

Code

public function resetCache(array $ids = NULL) {
  drupal_static_reset('taxonomy_term_count_nodes');
  drupal_static_reset('taxonomy_get_tree');
  drupal_static_reset('taxonomy_get_tree:parents');
  drupal_static_reset('taxonomy_get_tree:terms');
  drupal_static_reset('taxonomy_term_load_parents');
  drupal_static_reset('taxonomy_term_load_parents_all');
  drupal_static_reset('taxonomy_term_load_children');
  parent::resetCache($ids);
}