public function AutosaveFormAlterTrait::autosaveFormRejectAjax in Autosave Form 8
Ajax callback for rejecting autosaved states.
File
- src/
Form/ AutosaveFormAlterTrait.php, line 152
Class
- AutosaveFormAlterTrait
- Provides a trait for common autosave form alterations.
Namespace
Drupal\autosave_form\FormCode
public function autosaveFormRejectAjax($form, FormStateInterface $form_state) {
return new AjaxResponse();
}