/** * {@inheritdoc} */ public function resetCache(array $ids = NULL) { drupal_static_reset('taxonomy_term_count_nodes'); $this->parents = array(); $this->parentsAll = array(); $this->children = array(); $this->treeChildren = array(); $this->treeParents = array(); $this->treeTerms = array(); $this->trees = array(); parent::resetCache($ids); }