You are here

protected property JsonRenderer::$renderer in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/common_test/src/Render/MainContent/JsonRenderer.php \Drupal\common_test\Render\MainContent\JsonRenderer::renderer
  2. 10 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;