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 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;
}
doc_Drupal
2016-10-29 09:16:07
Comments
Leave a Comment

Please login to continue.