You are here

public function AutosaveFormInterface::formAlter in Autosave Form 8

Performs the needed alterations to the form.

Parameters

array $form: The form to be altered to provide autosave.

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

1 method overrides AutosaveFormInterface::formAlter()
AutosaveEntityFormHandler::formAlter in src/Form/AutosaveEntityFormHandler.php
Performs the needed alterations to the entity form.

File

src/Form/AutosaveFormInterface.php, line 25

Class

AutosaveFormInterface
Interface for providing autosave for forms.

Namespace

Drupal\autosave_form\Form

Code

public function formAlter(array &$form, FormStateInterface $form_state);