public function AutosaveFormInterface::isAutosaveSubmitValid in Autosave Form 8
Checks if the autosave submit is allowed.
Parameters
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
boolean TRUE if the autosave submission should be executed, FALSE otherwise.
1 method overrides AutosaveFormInterface::isAutosaveSubmitValid()
- AutosaveEntityFormHandler::isAutosaveSubmitValid in src/
Form/ AutosaveEntityFormHandler.php - Checks if the autosave submit is allowed.
File
- src/
Form/ AutosaveFormInterface.php, line 36
Class
- AutosaveFormInterface
- Interface for providing autosave for forms.
Namespace
Drupal\autosave_form\FormCode
public function isAutosaveSubmitValid(FormStateInterface $form_state);