TermStorage::__wakeup

public TermStorage::__wakeup()

Overrides DependencySerializationTrait::__wakeup

File

core/modules/taxonomy/src/TermStorage.php, line 361

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

Please login to continue.