function ForumManager::__wakeup

Same name in other branches
  1. 9 core/modules/forum/src/ForumManager.php \Drupal\forum\ForumManager::__wakeup()
  2. 10 core/modules/forum/src/ForumManager.php \Drupal\forum\ForumManager::__wakeup()
  3. 11.x core/modules/forum/src/ForumManager.php \Drupal\forum\ForumManager::__wakeup()

File

core/modules/forum/src/ForumManager.php, line 529

Class

ForumManager
Provides forum manager service.

Namespace

Drupal\forum

Code

public function __wakeup() {
    $this->defaultWakeup();
    // Initialize static cache.
    $this->history = [];
    $this->lastPostData = [];
    $this->forumChildren = [];
    $this->forumStatistics = [];
    $this->index = NULL;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.