You are here

public function FileLinkInterface::setResponse in File Link 8

Same name and namespace in other branches
  1. 2.0.x src/FileLinkInterface.php \Drupal\file_link\FileLinkInterface::setResponse()

Sets the latest HTTP response.

Parameters

\Psr\Http\Message\ResponseInterface $response: The last response to be stored.

Return value

$this

1 method overrides FileLinkInterface::setResponse()
FileLinkItem::setResponse in src/Plugin/Field/FieldType/FileLinkItem.php
Sets the latest HTTP response.

File

src/FileLinkInterface.php, line 37

Class

FileLinkInterface
Provides an interface for File Link field.

Namespace

Drupal\file_link

Code

public function setResponse(ResponseInterface $response);