public function ViewsQueryAlterEvent::getQuery in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/views_event_dispatcher/src/Event/Views/ViewsQueryAlterEvent.php \Drupal\views_event_dispatcher\Event\Views\ViewsQueryAlterEvent::getQuery()
Get the query.
Return value
\Drupal\views\Plugin\views\query\QueryPluginBase The query.
File
- modules/
views_event_dispatcher/ src/ Event/ Views/ ViewsQueryAlterEvent.php, line 40
Class
- ViewsQueryAlterEvent
- Class ViewsQueryAlterEvent.
Namespace
Drupal\views_event_dispatcher\Event\ViewsCode
public function getQuery() : QueryPluginBase {
return $this->query;
}