FormAjaxException
class FormAjaxException extends Exception (View source)
Custom exception to break out of AJAX form processing.
Properties
| protected array | $form | The form definition. |
|
| protected FormStateInterface | $formState | The form state. |
Methods
__construct(array $form, FormStateInterface $form_state, string $message = "", int $code = 0, Exception $previous = NULL)
Constructs a FormAjaxException object.
array
getForm()
Gets the form definition.
getFormState()
Gets the form state.
Details
__construct(array $form, FormStateInterface $form_state, string $message = "", int $code = 0, Exception $previous = NULL)
Constructs a FormAjaxException object.
array
getForm()
Gets the form definition.
FormStateInterface
getFormState()
Gets the form state.