You are here

public function EntityAccessControlHandler::resetCache in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 199
Contains \Drupal\Core\Entity\EntityAccessControlHandler.

Class

EntityAccessControlHandler
Defines a default implementation for entity access control handler.

Namespace

Drupal\Core\Entity

Code

public function resetCache() {
  $this->accessCache = array();
}