public function EntityAccessControlHandler::resetCache in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php \Drupal\Core\Entity\EntityAccessControlHandler::resetCache()
Clears all cached access checks.
Overrides EntityAccessControlHandlerInterface::resetCache
File
- core/
lib/ Drupal/ Core/ Entity/ EntityAccessControlHandler.php, line 221
Class
- EntityAccessControlHandler
- Defines a default implementation for entity access control handler.
Namespace
Drupal\Core\EntityCode
public function resetCache() {
$this->accessCache = [];
}