You are here

public function EntityAccessChecker::setNodeRevisionAccessCheck in JSON:API 8.2

Sets the node revision access check service.

This is only called when node module is installed.

Parameters

\Drupal\node\Access\NodeRevisionAccessCheck $node_revision_access_check: The node revision access check service.

File

src/Access/EntityAccessChecker.php, line 123

Class

EntityAccessChecker
Checks access to entities.

Namespace

Drupal\jsonapi\Access

Code

public function setNodeRevisionAccessCheck(NodeRevisionAccessCheck $node_revision_access_check) {
  $this->nodeRevisionAccessCheck = $node_revision_access_check;
}