You are here

protected property EntityToJsonApi::$currentUser in JSON:API 8

The currently logged in user.

Type: \Drupal\Core\Session\AccountInterface

File

src/EntityToJsonApi.php, line 25

Class

EntityToJsonApi
Simplifies the process of generating a JSON API version of an entity.

Namespace

Drupal\jsonapi

Code

protected $currentUser;