8.3.x FormStateInterface.php public FormStateInterface::setStorage(array $storage)
8.0.x FormStateInterface.php public FormStateInterface::setStorage(array $storage)
8.1.x FormStateInterface.php public FormStateInterface::setStorage(array $storage)
8.2.x FormStateInterface.php public FormStateInterface::setStorage(array $storage)
8.4.x FormStateInterface.php public FormStateInterface::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

1 method overrides FormStateInterface::setStorage()
FormState::setStorage in core/lib/Drupal/Core/Form/FormState.php
Sets the entire set of arbitrary data.

File

core/lib/Drupal/Core/Form/FormStateInterface.php, line 169

Class

FormStateInterface
Provides an interface for an object containing the current state of a form.

Namespace

Drupal\Core\Form

Code

public function setStorage(array $storage);