function RenderDeprecationController::buildRenderFunction

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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.