public function RenderDeprecationController::buildRenderService in Drupal 9
1 string reference to 'RenderDeprecationController::buildRenderService'
- render_deprecation.routing.yml in core/
modules/ system/ tests/ modules/ render_deprecation/ render_deprecation.routing.yml - core/modules/system/tests/modules/render_deprecation/render_deprecation.routing.yml
File
- core/
modules/ system/ tests/ modules/ render_deprecation/ src/ RenderDeprecationController.php, line 33
Class
Namespace
Drupal\render_deprecationCode
public function buildRenderService() {
$build = $this
->renderArray();
$render = $this->container
->get('renderer')
->render($build);
return Response::create($render);
}