You are here

public function DataProvider::getAccount in RESTful 7.2

Gets the authenticated account.

Return value

object The fully loaded user account.

Overrides DataProviderInterface::getAccount

12 calls to DataProvider::getAccount()
DataProvider::addExtraInfoToQuery in src/Plugin/resource/DataProvider/DataProvider.php
Adds query tags and metadata to the EntityFieldQuery.
DataProviderDbQuery::addExtraInfoToQuery in src/Plugin/resource/DataProvider/DataProviderDbQuery.php
Adds query tags and metadata to the EntityFieldQuery.
DataProviderDbQuery::initDataInterpreter in src/Plugin/resource/DataProvider/DataProviderDbQuery.php
Get the data interpreter.
DataProviderEntity::checkEntityAccess in src/Plugin/resource/DataProvider/DataProviderEntity.php
Check access to CRUD an entity.
DataProviderEntity::getIndexIds in src/Plugin/resource/DataProvider/DataProviderEntity.php
Returns the ID to render for the current index GET request.

... See full list

File

src/Plugin/resource/DataProvider/DataProvider.php, line 192
Contains \Drupal\restful\Plugin\resource\DataProvider\DataProvider.

Class

DataProvider

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

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