FormStateDecoratorBase::setStorage

public FormStateDecoratorBase::setStorage(array $storage)

Sets the entire set of arbitrary data.

Parameters

array $storage: The entire set of arbitrary data to store for this form.

Return value

$this

Overrides FormStateInterface::setStorage

File

core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 283

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

public function setStorage(array $storage) {
  $this->decoratedFormState->setStorage($storage);

  return $this;
}
doc_Drupal
2016-10-29 09:16:27
Comments
Leave a Comment

Please login to continue.