public function ForumManager::resetCache in Drupal 9
Same name and namespace in other branches
- 8 core/modules/forum/src/ForumManager.php \Drupal\forum\ForumManager::resetCache()
Resets the ForumManager index and history.
Overrides ForumManagerInterface::resetCache
File
- core/
modules/ forum/ src/ ForumManager.php, line 463
Class
- ForumManager
- Provides forum manager service.
Namespace
Drupal\forumCode
public function resetCache() {
// Reset the index.
$this->index = NULL;
// Reset history.
$this->history = [];
}