Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::getStorage()
  2. 9 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::getStorage()

Returns the entire set of arbitrary data.

Return value

array The entire set of arbitrary data to store for this form.

Overrides FormStateInterface::getStorage

See also

\Drupal\Core\Form\FormStateInterface::get()

\Drupal\Core\Form\FormStateInterface::set()

\Drupal\Core\Form\FormStateInterface::has()

\Drupal\Core\Form\FormStateInterface::setStorage()

File

core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 292

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

public function &getStorage() {
  return $this->decoratedFormState
    ->getStorage();
}