public function ResourceInterface::getAccount in RESTful 7.2
Get the user from for request.
Parameters
bool $cache: Boolean indicating if the resolved user should be cached for next calls.
Return value
object The fully loaded user object.
See also
2 methods override ResourceInterface::getAccount()
- Resource::getAccount in src/
Plugin/ resource/ Resource.php - Get the user from for request.
- ResourceDecoratorBase::getAccount in src/
Plugin/ resource/ Decorators/ ResourceDecoratorBase.php - Get the user from for request.
File
- src/
Plugin/ resource/ ResourceInterface.php, line 57 - Contains \Drupal\restful\Plugin\resource\ResourceInterface.
Class
- ResourceInterface
- Interface ResourceInterface.
Namespace
Drupal\restful\Plugin\resourceCode
public function getAccount($cache = TRUE);