You are here

protected property EntityResource::$user in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/jsonapi/src/Controller/EntityResource.php \Drupal\jsonapi\Controller\EntityResource::user
  2. 10 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 150

Class

EntityResource
Process all entity requests.

Namespace

Drupal\jsonapi\Controller

Code

protected $user;