You are here

public function AutosaveEntityFormStorageInterface::getLastAutosavedStateTimestamp in Autosave Form 8

Retrieves the timestamp of the last autosaved state.

Parameters

$form_id: The form id.

string $entity_type_id: The entity type id of the entity.

mixed $entity_id: The id of the entity to store.

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.

1 method overrides AutosaveEntityFormStorageInterface::getLastAutosavedStateTimestamp()
AutosaveEntityFormDatabaseStorage::getLastAutosavedStateTimestamp in src/Storage/AutosaveEntityFormDatabaseStorage.php
Retrieves the timestamp of the last autosaved state.

File

src/Storage/AutosaveEntityFormStorageInterface.php, line 169

Class

AutosaveEntityFormStorageInterface
Interface for providing autosave storage for entity forms.

Namespace

Drupal\autosave_form\Storage

Code

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