FormAjaxResponseBuilder

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

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.
doc_Drupal
2016-10-29 09:15:03
Comments
Leave a Comment

Please login to continue.