public function DataProvider::setRequest in RESTful 7.2
Sets the request.
Parameters
RequestInterface $request: The request.
Overrides DataProviderInterface::setRequest
File
- src/
Plugin/ resource/ DataProvider/ DataProvider.php, line 213 - Contains \Drupal\restful\Plugin\resource\DataProvider\DataProvider.
Class
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function setRequest(RequestInterface $request) {
$this->request = $request;
}