You are here

public function AutosaveFormInterface::isAutosaveEnabled in Autosave Form 8

Determines if autosave is enabled for the current form.

Parameters

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

Return value

bool TRUE if autosave is enabled, FALSE otherwise.

1 method overrides AutosaveFormInterface::isAutosaveEnabled()
AutosaveEntityFormHandler::isAutosaveEnabled in src/Form/AutosaveEntityFormHandler.php
Determines if autosave is enabled for the current form.

File

src/Form/AutosaveFormInterface.php, line 110

Class

AutosaveFormInterface
Interface for providing autosave for forms.

Namespace

Drupal\autosave_form\Form

Code

public function isAutosaveEnabled(FormStateInterface $form_state);