You are here

public function AutosaveFormInterface::storeState in Autosave Form 8

Stores the state of the form in the autosave storage.

Parameters

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

string $autosave_form_session_id: The autosave form session ID.

int $autosave_timestamp: The timestamp to use for the autosave record.

string|int $uid: The user id.

1 method overrides AutosaveFormInterface::storeState()
AutosaveEntityFormHandler::storeState in src/Form/AutosaveEntityFormHandler.php
Stores the state of the form in the autosave storage.

File

src/Form/AutosaveFormInterface.php, line 50

Class

AutosaveFormInterface
Interface for providing autosave for forms.

Namespace

Drupal\autosave_form\Form

Code

public function storeState(FormStateInterface $form_state, $autosave_form_session_id, $autosave_timestamp, $uid);