protected property AddComment::$currentUser in JSON:API Resources 8
The current user account.
Type: \Drupal\Core\Session\AccountInterface
File
- tests/
modules/ jsonapi_resources_test/ src/ Resource/ AddComment.php, line 27
Class
- AddComment
- Processes a request to create a comment on an article.
Namespace
Drupal\jsonapi_resources_test\ResourceCode
protected $currentUser;