function NodeViewController::view
Same name in other branches
- 9 core/modules/node/src/Controller/NodeViewController.php \Drupal\node\Controller\NodeViewController::view()
- 8.9.x core/modules/node/src/Controller/NodeViewController.php \Drupal\node\Controller\NodeViewController::view()
- 10 core/modules/node/src/Controller/NodeViewController.php \Drupal\node\Controller\NodeViewController::view()
Overrides EntityViewController::view
File
-
core/
modules/ node/ src/ Controller/ NodeViewController.php, line 65
Class
- NodeViewController
- Defines a controller to render a single node.
Namespace
Drupal\node\ControllerCode
public function view(EntityInterface $node, $view_mode = 'full', $langcode = NULL) {
return parent::view($node, $view_mode);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.