public FormState::setTemporary(array $temporary)
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 772
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\Form
Code
1 2 3 4 | public function setTemporary( array $temporary ) { $this ->temporary = $temporary ; return $this ; } |
Please login to continue.