You are here

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

DataProviderDecorator

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public function getAccount() {
  return $this->decorated
    ->getAccount();
}