You are here

public function FormState::getStorage in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::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

1 call to FormState::getStorage()
FormState::getCacheableArray in core/lib/Drupal/Core/Form/FormState.php
Returns an array representation of the cacheable portion of the form state.

File

core/lib/Drupal/Core/Form/FormState.php, line 735

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

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