You are here

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

DataProvider

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public function setRequest(RequestInterface $request) {
  $this->request = $request;
}