W3cubDocs

/Drupal 8

public function FormBuilder::deleteCache

public FormBuilder::deleteCache($form_build_id)

Deletes a form in the cache.

Parameters

string $form_build_id: The unique form build ID.

Overrides FormCacheInterface::deleteCache

File

core/lib/Drupal/Core/Form/FormBuilder.php, line 445

Class

FormBuilder
Provides form building and processing.

Namespace

Drupal\Core\Form

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Form!FormBuilder.php/function/FormBuilder::deleteCache/8.1.x