interface FormErrorHandlerInterface (View source)

Provides an interface for handling form errors.

Methods

$this
handleFormErrors(array $form, FormStateInterface $form_state)

Handles form errors after form validation.

Details

$this handleFormErrors(array $form, FormStateInterface $form_state)

Handles form errors after form validation.

Parameters

array $form

An associative array containing the structure of the form.

FormStateInterface $form_state

The current state of the form.

Return Value

$this