function FormState::setTemporary
Sets temporary data.
Parameters
array $temporary: Temporary data accessible during the current page request only.
Return value
$this
Overrides FormStateInterface::setTemporary
File
- 
              core/
lib/ Drupal/ Core/ Form/ FormState.php, line 819  
Class
- FormState
 - Stores information about the state of a form.
 
Namespace
Drupal\Core\FormCode
public function setTemporary(array $temporary) {
  $this->temporary = $temporary;
  return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.