You are here

public function AutosaveFormBackendInterface::getLastAutosavedStateTimestamp in Autosave Form 8

Retrieves the timestamp of the last autosaved state.

Parameters

$form_id: The form id.

string $langcode: The language code of the original entity.

$uid: The user id.

Return value

int The timestamp of the last autosaved state, or NULL if none has been found.

File

src/Storage/AutosaveFormBackendInterface.php, line 71

Class

AutosaveFormBackendInterface
Interface for providing autosave form storage.

Namespace

Drupal\autosave_form\Storage

Code

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