NodeController::$renderer

Same name in other branches
  1. 9 core/modules/node/src/Controller/NodeController.php \Drupal\node\Controller\NodeController::renderer
  2. 8.9.x core/modules/node/src/Controller/NodeController.php \Drupal\node\Controller\NodeController::renderer
  3. 10 core/modules/node/src/Controller/NodeController.php \Drupal\node\Controller\NodeController::renderer

The renderer service.

Type: \Drupal\Core\Render\RendererInterface

File

core/modules/node/src/Controller/NodeController.php, line 34

Class

NodeController
Returns responses for Node routes.

Namespace

Drupal\node\Controller

Code

protected $renderer;

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