You are here

public function SubFormState::setStorage in Authorization 8

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

src/Form/SubFormState.php, line 196

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

public function setStorage(array $storage) {
  $this->internalStorage = $storage;
  return $this;
}