public function QueryBase::accessCheck

Implements Drupal\Core\Entity\Query\QueryInterface::accessCheck().

Overrides QueryInterface::accessCheck

File

drupal/core/lib/Drupal/Core/Entity/Query/QueryBase.php, line 164
Definition of Drupal\Core\Entity\Query\QueryBase.

Class

QueryBase
The base entity query class.

Namespace

Drupal\Core\Entity\Query

Code

public function accessCheck($access_check = TRUE) {
  $this->accessCheck = $access_check;
  return $this;
}