function TermStorage::__wakeup
Same name in other branches
- 9 core/modules/taxonomy/src/TermStorage.php \Drupal\taxonomy\TermStorage::__wakeup()
- 8.9.x core/modules/taxonomy/src/TermStorage.php \Drupal\taxonomy\TermStorage::__wakeup()
- 10 core/modules/taxonomy/src/TermStorage.php \Drupal\taxonomy\TermStorage::__wakeup()
Overrides DependencySerializationTrait::__wakeup
File
-
core/
modules/ taxonomy/ src/ TermStorage.php, line 446
Class
- TermStorage
- Defines a Controller class for taxonomy terms.
Namespace
Drupal\taxonomyCode
public function __wakeup() : void {
parent::__wakeup();
// Initialize static caches.
$this->ancestors = [];
$this->treeChildren = [];
$this->treeParents = [];
$this->treeTerms = [];
$this->trees = [];
$this->vocabularyHierarchyType = [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.