public function RenderDeprecationController::buildRenderFunction in Drupal 9
1 string reference to 'RenderDeprecationController::buildRenderFunction'
- 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 27
Class
Namespace
Drupal\render_deprecationCode
public function buildRenderFunction() {
$build = $this
->renderArray();
$render = render($build);
return Response::create($render);
}