public function DataProviderDecorator::getAccount in RESTful 7.2
Gets the authenticated account.
Return value
object The fully loaded user account.
Overrides DataProviderInterface::getAccount
File
- src/
Plugin/ resource/ DataProvider/ DataProviderDecorator.php, line 49 - Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderDecorator.
Class
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function getAccount() {
return $this->decorated
->getAccount();
}