public function QueryAccessEvent::getAccount in Entity API 8
Gets the user for which to restrict access.
Return value
\Drupal\Core\Session\AccountInterface The user.
File
- src/
QueryAccess/ QueryAccessEvent.php, line 105
Class
- QueryAccessEvent
- Defines the query access event.
Namespace
Drupal\entity\QueryAccessCode
public function getAccount() {
return $this->account;
}