You are here

public function StateInterface::resetCache in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::resetCache()
  2. 9 core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::resetCache()

Resets the static cache.

This is mainly used in testing environments.

File

core/lib/Drupal/Core/State/StateInterface.php, line 75

Class

StateInterface
Defines the interface for the state system.

Namespace

Drupal\Core\State

Code

public function resetCache();