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