You are here

public function DataProviderDecorator::setRequest in RESTful 7.2

Sets the request.

Parameters

RequestInterface $request: The request.

Overrides DataProviderInterface::setRequest

File

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

Class

DataProviderDecorator

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

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