public FormState::disableCache()
Prevents the form from being cached.
Return value
$this
Overrides FormStateInterface::disableCache
File
- core/lib/Drupal/Core/Form/FormState.php, line 521
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\Form
Code
1 2 3 4 | public function disableCache() { $this ->no_cache = TRUE; return $this ; } |
Please login to continue.