function QueryInterface::accessCheck
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/Query/QueryInterface.php \Drupal\Core\Entity\Query\QueryInterface::accessCheck()
- 8.9.x core/lib/Drupal/Core/Entity/Query/QueryInterface.php \Drupal\Core\Entity\Query\QueryInterface::accessCheck()
- 11.x core/lib/Drupal/Core/Entity/Query/QueryInterface.php \Drupal\Core\Entity\Query\QueryInterface::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
1 method overrides QueryInterface::accessCheck()
- QueryBase::accessCheck in core/
lib/ Drupal/ Core/ Entity/ Query/ QueryBase.php - Enables or disables access checking for this query.
File
-
core/
lib/ Drupal/ Core/ Entity/ Query/ QueryInterface.php, line 223
Class
- QueryInterface
- Interface for entity queries.
Namespace
Drupal\Core\Entity\QueryCode
public function accessCheck($access_check = TRUE);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.