public function FormState::setStorage
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 724
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\FormCode
public function setStorage(array $storage) { $this->storage = $storage; return $this; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Form!FormState.php/function/FormState::setStorage/8.1.x