ForumManager::resetCache

public ForumManager::resetCache()

Resets the ForumManager index and history.

Overrides ForumManagerInterface::resetCache

File

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

Class

ForumManager
Provides forum manager service.

Namespace

Drupal\forum

Code

1
2
3
4
5
6
public function resetCache() {
  // Reset the index.
  $this->index = NULL;
  // Reset history.
  $this->history = array();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.