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