You are here

public function EntityRevisionRouteAccessChecker::resetAccessCache in Entity API 8.0

Same name and namespace in other branches
  1. 8 src/Access/EntityRevisionRouteAccessChecker.php \Drupal\entity\Access\EntityRevisionRouteAccessChecker::resetAccessCache()

Resets the access cache.

Return value

$this

File

src/Access/EntityRevisionRouteAccessChecker.php, line 144
Contains \Drupal\entity\Access\EntityRevisionRouteAccessChecker

Class

EntityRevisionRouteAccessChecker
Checks access to a entity revision.

Namespace

Drupal\entity\Access

Code

public function resetAccessCache() {
  $this->accessCache = [];
  return $this;
}