Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. NodeViewController.php

function 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\Controller

Code

public function view(EntityInterface $node, $view_mode = 'full', $langcode = NULL) {
    return parent::view($node, $view_mode);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal