public function DataProviderInterface::getAccount in RESTful 7.2
Gets the authenticated account.
Return value
object The fully loaded user account.
3 methods override DataProviderInterface::getAccount()
- CacheDecoratedDataProvider::getAccount in src/
Plugin/ resource/ DataProvider/ CacheDecoratedDataProvider.php - Gets the authenticated account.
- DataProvider::getAccount in src/
Plugin/ resource/ DataProvider/ DataProvider.php - Gets the authenticated account.
- DataProviderDecorator::getAccount in src/
Plugin/ resource/ DataProvider/ DataProviderDecorator.php - Gets the authenticated account.
File
- src/
Plugin/ resource/ DataProvider/ DataProviderInterface.php, line 75 - Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderInterface.
Class
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function getAccount();