You are here

public function AutosaveFormBackendInterface::hasAutosavedFormState in Autosave Form 8

Checks if there is any autosaved form state.

Parameters

$form_id: The form id.

string $langcode: The language code of the form.

$uid: The user id.

Return value

bool TRUE, if any autosaved form states have been found, FALSE otherwise.

File

src/Storage/AutosaveFormBackendInterface.php, line 56

Class

AutosaveFormBackendInterface
Interface for providing autosave form storage.

Namespace

Drupal\autosave_form\Storage

Code

public function hasAutosavedFormState($form_id, $langcode, $uid);