function StateInterface::resetCache
Same name in other branches
- 9 core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::resetCache()
- 10 core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::resetCache()
- 11.x core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::resetCache()
Resets the static cache.
This is mainly used in testing environments.
1 method overrides StateInterface::resetCache()
- State::resetCache in core/
lib/ Drupal/ Core/ State/ State.php - Resets the static cache.
File
-
core/
lib/ Drupal/ Core/ State/ StateInterface.php, line 75
Class
- StateInterface
- Defines the interface for the state system.
Namespace
Drupal\Core\StateCode
public function resetCache();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.