You are here

public function PanelizerInterface::getEntityViewDisplay in Panelizer 8.4

Same name and namespace in other branches
  1. 8.5 src/PanelizerInterface.php \Drupal\panelizer\PanelizerInterface::getEntityViewDisplay()
  2. 8.3 src/PanelizerInterface.php \Drupal\panelizer\PanelizerInterface::getEntityViewDisplay()

Gets the entity view display for the entity type, bundle and view mode.

Parameters

$entity_type_id: The entity type id.

$bundle: The bundle.

$view_mode: The view mode.

Return value

\Drupal\Core\Entity\Display\EntityViewDisplayInterface|NULL The entity view display if one exists; NULL otherwise.

1 method overrides PanelizerInterface::getEntityViewDisplay()
Panelizer::getEntityViewDisplay in src/Panelizer.php
Gets the entity view display for the entity type, bundle and view mode.

File

src/PanelizerInterface.php, line 29

Class

PanelizerInterface
Interface for the Panelizer service.

Namespace

Drupal\panelizer

Code

public function getEntityViewDisplay($entity_type_id, $bundle, $view_mode);