public function EntityViewEvent::getDisplay in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/core_event_dispatcher/src/Event/Entity/EntityViewEvent.php \Drupal\core_event_dispatcher\Event\Entity\EntityViewEvent::getDisplay()
Get the display.
Return value
\Drupal\Core\Entity\Display\EntityViewDisplayInterface The display.
File
- modules/
core_event_dispatcher/ src/ Event/ Entity/ EntityViewEvent.php, line 77
Class
- EntityViewEvent
- Class EntityViewEvent.
Namespace
Drupal\core_event_dispatcher\Event\EntityCode
public function getDisplay() : EntityViewDisplayInterface {
return $this->display;
}