Builds an AJAX form response.
Given the current request, a form render array, its form state, and any AJAX commands to apply to the form, build a response object.
Hierarchy
- class \Drupal\Core\Form\FormAjaxResponseBuilder implements FormAjaxResponseBuilderInterface
File
- core/lib/Drupal/Core/Form/FormAjaxResponseBuilder.php, line 18
Namespace
Drupal\Core\Form
Members
Name | Modifiers | Type | Description |
---|---|---|---|
FormAjaxResponseBuilder::$ajaxRenderer | protected | property | The main content to AJAX Response renderer. |
FormAjaxResponseBuilder::$routeMatch | protected | property | The current route match. |
FormAjaxResponseBuilder::buildResponse | public | function | Builds a response for an AJAX form. Overrides FormAjaxResponseBuilderInterface::buildResponse |
FormAjaxResponseBuilder::__construct | public | function | Constructs a new FormAjaxResponseBuilder. |
Please login to continue.