You are here

public function FormBuilder::deleteCache in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 450
Contains \Drupal\Core\Form\FormBuilder.

Class

FormBuilder
Provides form building and processing.

Namespace

Drupal\Core\Form

Code

public function deleteCache($form_build_id) {
  $this->formCache
    ->deleteCache($form_build_id);
}