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.
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. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Form!FormAjaxResponseBuilder.php/class/FormAjaxResponseBuilder/8.1.x