Drupal 8  8.0.2
NodeViewController Class Reference
Inheritance diagram for NodeViewController:

Public Member Functions

 view (EntityInterface $node, $view_mode= 'full', $langcode=NULL)
 title (EntityInterface $node)
- Public Member Functions inherited from EntityViewController
 __construct (EntityManagerInterface $entity_manager, RendererInterface $renderer)
 buildTitle (array $page)
 view (EntityInterface $_entity, $view_mode= 'full')

Additional Inherited Members

- Static Public Member Functions inherited from EntityViewController
static create (ContainerInterface $container)
- Protected Attributes inherited from EntityViewController

Detailed Description

Defines a controller to render a single node.

Member Function Documentation

title ( EntityInterface  $node)

The _title_callback for the page that renders a single node.

\Drupal\Core\Entity\EntityInterface$nodeThe current node.
string The page title.

References Drupal\entityManager().

Here is the call graph for this function:

view ( EntityInterface  $node,
  $view_mode = 'full',
  $langcode = NULL 


The documentation for this class was generated from the following file: