Defines a controller to render a single node.
Hierarchy
- class \Drupal\Core\Entity\Controller\EntityViewController implements ContainerInjectionInterface
- class \Drupal\node\Controller\NodeViewController
File
- core/modules/node/src/Controller/NodeViewController.php, line 15
Namespace
Drupal\node\Controller
Members
Name | Modifiers | Type | Description |
---|---|---|---|
EntityViewController::$entityManager | protected | property | The entity manager |
EntityViewController::$renderer | protected | property | The renderer service. |
EntityViewController::buildTitle | public | function | Pre-render callback to build the page title. |
EntityViewController::viewRevision | public | function | Provides a page to render a single entity revision. |
NodeViewController::$currentUser | protected | property | The current user. |
NodeViewController::create | public static | function | Instantiates a new instance of this class. Overrides EntityViewController::create |
NodeViewController::title | public | function | The _title_callback for the page that renders a single node. |
NodeViewController::view | public | function | Provides a page to render a single entity. Overrides EntityViewController::view |
NodeViewController::__construct | public | function | Creates an NodeViewController object. Overrides EntityViewController::__construct |
Please login to continue.