protected property AuthenticationLinkProvider::$currentUser in JSON:API Hypermedia 8
The current account.
Type: \Drupal\Core\Session\AccountInterface
File
- examples/
Plugin/ jsonapi_hypermedia/ LinkProvider/ AuthenticationLinkProvider.php, line 36
Class
- AuthenticationLinkProvider
- Adds an `authenticate` link for unauthenticated requests.
Namespace
Drupal\jsonapi_hypermedia\Plugin\jsonapi_hypermedia\LinkProviderCode
protected $currentUser;