Drupal 8  8.0.2
NodePreviewController Class Reference
Inheritance diagram for NodePreviewController:

Public Member Functions

 view (EntityInterface $node_preview, $view_mode_id= 'full', $langcode=NULL)
 
 title (EntityInterface $node_preview)
 
- 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
 $entityManager
 
 $renderer
 

Detailed Description

Defines a controller to render a single node in preview.

Member Function Documentation

title ( EntityInterface  $node_preview)

The _title_callback for the page that renders a single node in preview.

Parameters
\Drupal\Core\Entity\EntityInterface$node_previewThe current node.
Returns
string The page title.

References Drupal\entityManager().

Here is the call graph for this function:

view ( EntityInterface  $node_preview,
  $view_mode_id = 'full',
  $langcode = NULL 
)

{}


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