function FormBuilder::setCache
Same name in other branches
- 9 core/lib/Drupal/Core/Form/FormBuilder.php \Drupal\Core\Form\FormBuilder::setCache()
- 8.9.x core/lib/Drupal/Core/Form/FormBuilder.php \Drupal\Core\Form\FormBuilder::setCache()
- 11.x core/lib/Drupal/Core/Form/FormBuilder.php \Drupal\Core\Form\FormBuilder::setCache()
2 calls to FormBuilder::setCache()
- FormBuilder::processForm in core/
lib/ Drupal/ Core/ Form/ FormBuilder.php - FormBuilder::rebuildForm in core/
lib/ Drupal/ Core/ Form/ FormBuilder.php
File
-
core/
lib/ Drupal/ Core/ Form/ FormBuilder.php, line 462
Class
- FormBuilder
- Provides form building and processing.
Namespace
Drupal\Core\FormCode
public function setCache($form_build_id, $form, FormStateInterface $form_state) {
$this->formCache
->setCache($form_build_id, $form, $form_state);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.