You are here

public function FileLinkItem::getResponse in File Link 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/Field/FieldType/FileLinkItem.php \Drupal\file_link\Plugin\Field\FieldType\FileLinkItem::getResponse()

Gets the latest stored HTTP response.

Return value

\Psr\Http\Message\ResponseInterface A response object.

Overrides FileLinkInterface::getResponse

1 call to FileLinkItem::getResponse()
FileLinkItem::preSave in src/Plugin/Field/FieldType/FileLinkItem.php
Defines custom presave behavior for field values.

File

src/Plugin/Field/FieldType/FileLinkItem.php, line 248

Class

FileLinkItem
Implements a 'file_link' plugin field type.

Namespace

Drupal\file_link\Plugin\Field\FieldType

Code

public function getResponse() {
  return $this->response;
}