public MainContentRendererInterface::renderResponse(array $main_content, Request $request, RouteMatchInterface $route_match)
Renders the main content render array into a response.
array $main_content: The render array representing the main content.
\Symfony\Component\HttpFoundation\Request $request: The request object, for context.
\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match, for context.
\Symfony\Component\HttpFoundation\Response The Response in the format that this implementation supports.
public function renderResponse(array $main_content, Request $request, RouteMatchInterface $route_match);
© 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!Render!MainContent!MainContentRendererInterface.php/function/MainContentRendererInterface::renderResponse/8.1.x