EntityAccessControlHandler::resetCache

public EntityAccessControlHandler::resetCache()

Clears all cached access checks.

Overrides EntityAccessControlHandlerInterface::resetCache

File

core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php, line 209

Class

EntityAccessControlHandler
Defines a default implementation for entity access control handler.

Namespace

Drupal\Core\Entity

Code

public function resetCache() {
  $this->accessCache = array();
}
doc_Drupal
2016-10-29 09:04:30
Comments
Leave a Comment

Please login to continue.