LinkCollectionNormalizer::$currentUser

Same name and namespace in other branches
  1. 10 core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php \Drupal\jsonapi\Normalizer\LinkCollectionNormalizer::currentUser
  2. 11.x 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 74

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.