function FormStateDecoratorBase::setStorage
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\FormCode
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.