NodePreviewController

Defines a controller to render a single node in preview.

Hierarchy

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
doc_Drupal
2016-10-29 09:31:02
Comments
Leave a Comment

Please login to continue.