public FormState::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/FormState.php, line 727
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\Form
Code
public function setStorage(array $storage) { $this->storage = $storage; return $this; }
Please login to continue.