You are here

public function EntityViewAlterEvent::getDisplay in Hook Event Dispatcher 8

Get the display.

Return value

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

File

src/Event/Entity/EntityViewAlterEvent.php, line 63

Class

EntityViewAlterEvent
Class EntityViewAlterEventEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Entity

Code

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