Drupal 8  8.0.2
RequestHandler Class Reference
Inheritance diagram for RequestHandler:

Public Member Functions

 handle (RouteMatchInterface $route_match, Request $request)
 
 csrfToken ()
 

Detailed Description

Acts as intermediate request forwarder for resource plugins.

Member Function Documentation

csrfToken ( )

Generates a CSRF protecting session token.

Returns
The response object.

References Drupal\csrfToken().

Here is the call graph for this function:

handle ( RouteMatchInterface  $route_match,
Request  $request 
)

Handles a web API request.

Parameters
\Drupal\Core\Routing\RouteMatchInterface$route_matchThe route match.
\Symfony\Component\HttpFoundation\Request$requestThe HTTP request object.
Returns
The response object.

References RouteMatchInterface\getParameters(), and RouteMatchInterface\getRouteObject().

Here is the call graph for this function:


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