You are here

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

RenderDeprecationController

Namespace

Drupal\render_deprecation

Code

public function buildRenderFunction() {
  $build = $this
    ->renderArray();
  $render = render($build);
  return Response::create($render);
}