JsonRenderer::$renderer

Same name in other branches
  1. 9 core/modules/system/tests/modules/common_test/src/Render/MainContent/JsonRenderer.php \Drupal\common_test\Render\MainContent\JsonRenderer::renderer
  2. 8.9.x core/modules/system/tests/modules/common_test/src/Render/MainContent/JsonRenderer.php \Drupal\common_test\Render\MainContent\JsonRenderer::renderer
  3. 11.x core/modules/system/tests/modules/common_test/src/Render/MainContent/JsonRenderer.php \Drupal\common_test\Render\MainContent\JsonRenderer::renderer

The renderer service.

Type: \Drupal\Core\Render\RendererInterface

File

core/modules/system/tests/modules/common_test/src/Render/MainContent/JsonRenderer.php, line 30

Class

JsonRenderer
Default main content renderer for JSON requests.

Namespace

Drupal\common_test\Render\MainContent

Code

protected $renderer;

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