LinkCollectionNormalizer::$currentUser

Same name in other branches
  1. 9 core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php \Drupal\jsonapi\Normalizer\LinkCollectionNormalizer::currentUser
  2. 10 core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php \Drupal\jsonapi\Normalizer\LinkCollectionNormalizer::currentUser

The current user making the request.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php, line 69

Class

LinkCollectionNormalizer
Normalizes a LinkCollection object.

Namespace

Drupal\jsonapi\Normalizer

Code

protected $currentUser;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.