HttpExceptionNormalizer::$currentUser
Same name in other branches
- 8.9.x core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php \Drupal\jsonapi\Normalizer\HttpExceptionNormalizer::currentUser
- 10 core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php \Drupal\jsonapi\Normalizer\HttpExceptionNormalizer::currentUser
- 11.x core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php \Drupal\jsonapi\Normalizer\HttpExceptionNormalizer::currentUser
The current user making the request.
Type: \Drupal\Core\Session\AccountInterface
File
-
core/
modules/ jsonapi/ src/ Normalizer/ HttpExceptionNormalizer.php, line 36
Class
- HttpExceptionNormalizer
- Normalizes an HttpException in compliance with the JSON:API specification.
Namespace
Drupal\jsonapi\NormalizerCode
protected $currentUser;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.