EntityResource::$user
Same name in other branches
- 8.9.x core/modules/jsonapi/src/Controller/EntityResource.php \Drupal\jsonapi\Controller\EntityResource::user
- 10 core/modules/jsonapi/src/Controller/EntityResource.php \Drupal\jsonapi\Controller\EntityResource::user
- 11.x core/modules/jsonapi/src/Controller/EntityResource.php \Drupal\jsonapi\Controller\EntityResource::user
The current user account.
Type: \Drupal\Core\Session\AccountInterface
File
-
core/
modules/ jsonapi/ src/ Controller/ EntityResource.php, line 152
Class
- EntityResource
- Process all entity requests.
Namespace
Drupal\jsonapi\ControllerCode
protected $user;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.