function QueryBase::accessCheck
Enables or disables access checking for this query.
Parameters
bool $access_check: (optional) Whether access check is requested or not. Defaults to TRUE.
Return value
$this
Overrides QueryInterface::accessCheck
File
- 
              core/lib/ Drupal/ Core/ Entity/ Query/ QueryBase.php, line 257 
Class
- QueryBase
- The base entity query class.
Namespace
Drupal\Core\Entity\QueryCode
public function accessCheck($access_check = TRUE) {
  $this->accessCheck = $access_check;
  return $this;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
