You are here

public function AutosaveFormBackendInterface::purgeAutosavedFormStates in Autosave Form 8

Purges all autosaved states for the given form id.

Parameters

$form_id: The form id.

string $langcode: (optional) The language code of the form.

$uid: (optional) The user id.

File

src/Storage/AutosaveFormBackendInterface.php, line 83

Class

AutosaveFormBackendInterface
Interface for providing autosave form storage.

Namespace

Drupal\autosave_form\Storage

Code

public function purgeAutosavedFormStates($form_id, $langcode = NULL, $uid = NULL);