You are here

public function ViewsPreViewEvent::getDisplayId in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/views_event_dispatcher/src/Event/Views/ViewsPreViewEvent.php \Drupal\views_event_dispatcher\Event\Views\ViewsPreViewEvent::getDisplayId()

Get the machine name of the active display.

Return value

string The machine name of the active display.

File

modules/views_event_dispatcher/src/Event/Views/ViewsPreViewEvent.php, line 48

Class

ViewsPreViewEvent
Class ViewsPreRenderEvent.

Namespace

Drupal\views_event_dispatcher\Event\Views

Code

public function getDisplayId() : string {
  return $this->displayId;
}