public function ViewsPreViewEvent::getDisplayId in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 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\ViewsCode
public function getDisplayId() : string {
return $this->displayId;
}