You are here

public function TermStorage::__wakeup in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/src/TermStorage.php \Drupal\taxonomy\TermStorage::__wakeup()

Overrides DependencySerializationTrait::__wakeup

File

core/modules/taxonomy/src/TermStorage.php, line 366
Contains \Drupal\taxonomy\TermStorage.

Class

TermStorage
Defines a Controller class for taxonomy terms.

Namespace

Drupal\taxonomy

Code

public function __wakeup() {
  parent::__wakeup();

  // Initialize static caches.
  $this->parents = array();
  $this->parentsAll = array();
  $this->children = array();
  $this->treeChildren = array();
  $this->treeParents = array();
  $this->treeTerms = array();
  $this->trees = array();
}