You are here

public function FormStateDecoratorBase::setTemporary in Markdown 8.2

Sets temporary data.

Parameters

array $temporary: Temporary data accessible during the current page request only.

Return value

$this

Overrides FormStateInterface::setTemporary

File

src/BcSupport/FormStateDecoratorBase.php, line 339

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\markdown\BcSupport

Code

public function setTemporary(array $temporary) {
  $this->decoratedFormState
    ->setTemporary($temporary);
  return $this;
}