function ForumManager::resetCache

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

Overrides ForumManagerInterface::resetCache

File

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

Class

ForumManager
Provides forum manager service.

Namespace

Drupal\forum

Code

public function resetCache() {
    // Reset the index.
    $this->index = NULL;
    // Reset history.
    $this->history = [];
}

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