You are here

public function ForumManager::__wakeup in Drupal 9

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

File

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

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;
}