public function FormBuilder::deleteCache in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Form/FormBuilder.php \Drupal\Core\Form\FormBuilder::deleteCache()
- 10 core/lib/Drupal/Core/Form/FormBuilder.php \Drupal\Core\Form\FormBuilder::deleteCache()
Deletes a form in the cache.
Parameters
string $form_build_id: The unique form build ID.
Overrides FormCacheInterface::deleteCache
1 call to FormBuilder::deleteCache()
- FormBuilder::processForm in core/
lib/ Drupal/ Core/ Form/ FormBuilder.php - Processes a form submission.
File
- core/
lib/ Drupal/ Core/ Form/ FormBuilder.php, line 465
Class
- FormBuilder
- Provides form building and processing.
Namespace
Drupal\Core\FormCode
public function deleteCache($form_build_id) {
$this->formCache
->deleteCache($form_build_id);
}