Drupal 8  8.0.2
FormAjaxResponseBuilder Class Reference
Inheritance diagram for FormAjaxResponseBuilder:

Public Member Functions

 __construct (MainContentRendererInterface $ajax_renderer, RouteMatchInterface $route_match)
 
- Public Member Functions inherited from FormAjaxResponseBuilderInterface
 buildResponse (Request $request, array $form, FormStateInterface $form_state, array $commands)
 

Protected Attributes

 $ajaxRenderer
 
 $routeMatch
 

Detailed Description

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.

Constructor & Destructor Documentation

__construct ( MainContentRendererInterface  $ajax_renderer,
RouteMatchInterface  $route_match 
)

Constructs a new FormAjaxResponseBuilder.

Parameters
\Drupal\Core\Render\MainContent\MainContentRendererInterface$ajax_rendererThe ajax renderer.
\Drupal\Core\Routing\RouteMatchInterface$route_matchThe current route match.

References Drupal\routeMatch().

Here is the call graph for this function:


The documentation for this class was generated from the following file: