public function QueryBase::accessCheck in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Entity/Query/QueryBase.php \Drupal\Core\Entity\Query\QueryBase::accessCheck()
Return value
$this The called object.
Overrides QueryInterface::accessCheck
File
- core/
lib/ Drupal/ Core/ Entity/ Query/ QueryBase.php, line 253
Class
- QueryBase
- The base entity query class.
Namespace
Drupal\Core\Entity\QueryCode
public function accessCheck($access_check = TRUE) {
$this->accessCheck = $access_check;
return $this;
}