You are here

public function ResourceFieldBase::setRequest in RESTful 7.2

Set the request.

Parameters

RequestInterface $request: The request.

Overrides ResourceFieldInterface::setRequest

1 call to ResourceFieldBase::setRequest()
ResourceField::__construct in src/Plugin/resource/Field/ResourceField.php
Constructor.

File

src/Plugin/resource/Field/ResourceFieldBase.php, line 175
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldBase.

Class

ResourceFieldBase

Namespace

Drupal\restful\Plugin\resource\Field

Code

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