function FormCacheInterface::deleteCache

Same name in other branches
  1. 9 core/lib/Drupal/Core/Form/FormCacheInterface.php \Drupal\Core\Form\FormCacheInterface::deleteCache()
  2. 10 core/lib/Drupal/Core/Form/FormCacheInterface.php \Drupal\Core\Form\FormCacheInterface::deleteCache()
  3. 11.x core/lib/Drupal/Core/Form/FormCacheInterface.php \Drupal\Core\Form\FormCacheInterface::deleteCache()

Deletes a form in the cache.

Parameters

string $form_build_id: The unique form build ID.

2 methods override FormCacheInterface::deleteCache()
FormBuilder::deleteCache in core/lib/Drupal/Core/Form/FormBuilder.php
Deletes a form in the cache.
FormCache::deleteCache in core/lib/Drupal/Core/Form/FormCache.php
Deletes a form in the cache.

File

core/lib/Drupal/Core/Form/FormCacheInterface.php, line 38

Class

FormCacheInterface
Provides an interface for the caching of a form and its form state.

Namespace

Drupal\Core\Form

Code

public function deleteCache($form_build_id);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.