public function AutosaveFormErrorHandler::__construct in Autosave Form 8
Constructs a AutosaveFormErrorHandler object.
Parameters
\Drupal\Core\Form\FormErrorHandlerInterface $form_error_handler: The form error handler service.
File
- src/
Form/ AutosaveFormErrorHandler.php, line 29
Class
- AutosaveFormErrorHandler
- Handles form errors.
Namespace
Drupal\autosave_form\FormCode
public function __construct(FormErrorHandlerInterface $form_error_handler) {
$this->formErrorHandler = $form_error_handler;
}