You are here

public function AutosaveEntityFormStorageInterface::purgeAutosavedEntityState in Autosave Form 8

Purges all autosaved states for the given entity.

Parameters

string $entity_type_id: The entity type id of the entity.

mixed $entity_id: The id of the entity to store.

string $form_session_id: (optional) The form session id.

$form_id: (optional) The form id.

string $langcode: (optional) The language code, for which to restrict the purge.

$uid: (optional) The user id, for which to restrict the purge.

1 method overrides AutosaveEntityFormStorageInterface::purgeAutosavedEntityState()
AutosaveEntityFormDatabaseStorage::purgeAutosavedEntityState in src/Storage/AutosaveEntityFormDatabaseStorage.php
Purges all autosaved states for the given entity.

File

src/Storage/AutosaveEntityFormStorageInterface.php, line 187

Class

AutosaveEntityFormStorageInterface
Interface for providing autosave storage for entity forms.

Namespace

Drupal\autosave_form\Storage

Code

public function purgeAutosavedEntityState($entity_type_id, $entity_id, $form_session_id = NULL, $form_id = NULL, $langcode = NULL, $uid = NULL);