public function EntityAccessControlHandler::resetCache in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php \Drupal\Core\Entity\EntityAccessControlHandler::resetCache()
- 10 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 = [];
}