You are here

public function FileLinkItem::clearResponse 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::clearResponse()

Clears a previous stored HTTP response.

Return value

$this

Overrides FileLinkInterface::clearResponse

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

File

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

Class

FileLinkItem
Implements a 'file_link' plugin field type.

Namespace

Drupal\file_link\Plugin\Field\FieldType

Code

public function clearResponse() {
  $this->response = NULL;
  return $this;
}