function FormStateDecoratorBase::setStorage

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.