You are here

public function ViewsPreViewEvent::getDisplayId in Hook Event Dispatcher 8

Get the machine name of the active display.

Return value

string The machine name of the active display.

File

src/Event/Views/ViewsPreViewEvent.php, line 49

Class

ViewsPreViewEvent
Class ViewsPreRenderEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Views

Code

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