Defines a controller to render a single node in preview.
Hierarchy
- class \Drupal\Core\Entity\Controller\EntityViewController implements ContainerInjectionInterface
- class \Drupal\node\Controller\NodePreviewController
File
- core/modules/node/src/Controller/NodePreviewController.php, line 11
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::create | public static | function | Instantiates a new instance of this class. Overrides ContainerInjectionInterface::create |
EntityViewController::viewRevision | public | function | Provides a page to render a single entity revision. |
EntityViewController::__construct | public | function | Creates an EntityViewController object. |
NodePreviewController::title | public | function | The _title_callback for the page that renders a single node in preview. |
NodePreviewController::view | public | function | Provides a page to render a single entity. Overrides EntityViewController::view |
Please login to continue.