function RenderDeprecationController::buildRenderService

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

RenderDeprecationController

Namespace

Drupal\render_deprecation

Code

public function buildRenderService() {
    $build = $this->renderArray();
    $render = $this->container
        ->get('renderer')
        ->render($build);
    return Response::create($render);
}

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