You are here

public function FormState::getTemporary in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::getTemporary()

Gets temporary data.

Return value

array Temporary data accessible during the current page request only.

Overrides FormStateInterface::getTemporary

File

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

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

public function getTemporary() {
  return $this->temporary;
}