namespace Drupal\node\Controller

Same name in other branches
  1. 8.9.x Drupal\node\Controller
  2. 10 Drupal\node\Controller
  3. 11.x Drupal\node\Controller
Object name File name Summary
NodeController core/modules/node/src/Controller/NodeController.php Returns responses for Node routes.
NodePreviewController core/modules/node/src/Controller/NodePreviewController.php Defines a controller to render a single node in preview.
NodeViewController core/modules/node/src/Controller/NodeViewController.php Defines a controller to render a single node.

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