You are here

public function EntityViewEvent::getDisplay in Hook Event Dispatcher 8

Get the display.

Return value

\Drupal\Core\Entity\Display\EntityViewDisplayInterface The display.

File

src/Event/Entity/EntityViewEvent.php, line 84

Class

EntityViewEvent
Class EntityViewEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Entity

Code

public function getDisplay() {
  return $this->display;
}