You are here

protected property EntityToJsonApi::$currentUser in JSON:API Extras 8.2

The currently logged in user.

Type: \Drupal\Core\Session\AccountInterface

File

src/EntityToJsonApi.php, line 27

Class

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

Namespace

Drupal\jsonapi_extras

Code

protected $currentUser;