You are here

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

Clears a previous stored Guzzle exception.

Return value

$this

Overrides FileLinkInterface::clearException

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

File

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

Class

FileLinkItem
Implements a 'file_link' plugin field type.

Namespace

Drupal\file_link\Plugin\Field\FieldType

Code

public function clearException() {
  $this->exception = NULL;
  return $this;
}