function FormState::disableCache
Prevents the form from being cached.
Return value
$this
Overrides FormStateInterface::disableCache
File
- 
              core/
lib/ Drupal/ Core/ Form/ FormState.php, line 546  
Class
- FormState
 - Stores information about the state of a form.
 
Namespace
Drupal\Core\FormCode
public function disableCache() {
  $this->no_cache = TRUE;
  return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.