public function AutosaveEntityFormStorageInterface::purgeAutosavedEntitiesStates in Autosave Form 8
Purges all autosaved states matching the conditions.
Calling this method without arguments will empty the whole storage.
Parameters
string $entity_type_id: (optional) The entity type id.
string $langcode: (optional) The language code, for which to restrict the purge.
$uid: (optional) The user id, for which to purge the autosaved entities.
1 method overrides AutosaveEntityFormStorageInterface::purgeAutosavedEntitiesStates()
- AutosaveEntityFormDatabaseStorage::purgeAutosavedEntitiesStates in src/
Storage/ AutosaveEntityFormDatabaseStorage.php - Purges all autosaved states matching the conditions.
File
- src/
Storage/ AutosaveEntityFormStorageInterface.php, line 201
Class
- AutosaveEntityFormStorageInterface
- Interface for providing autosave storage for entity forms.
Namespace
Drupal\autosave_form\StorageCode
public function purgeAutosavedEntitiesStates($entity_type_id = NULL, $langcode = NULL, $uid = NULL);