public function AutosaveFormInterface::purgeAllAutosavedStates in Autosave Form 8
Purges all autosaved state sessions for the current form and user.
Parameters
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
string|int $uid: The user id for which to purge the autosaved states.
1 method overrides AutosaveFormInterface::purgeAllAutosavedStates()
- AutosaveEntityFormHandler::purgeAllAutosavedStates in src/Form/ AutosaveEntityFormHandler.php 
- Purges all autosaved state sessions for the current form and user.
File
- src/Form/ AutosaveFormInterface.php, line 99 
Class
- AutosaveFormInterface
- Interface for providing autosave for forms.
Namespace
Drupal\autosave_form\FormCode
public function purgeAllAutosavedStates(FormStateInterface $form_state, $uid);