You are here

public function ViewsQueryAlterEvent::getQuery in Hook Event Dispatcher 8

Get the query.

Return value

\Drupal\views\Plugin\views\query\QueryPluginBase The query.

File

src/Event/Views/ViewsQueryAlterEvent.php, line 42

Class

ViewsQueryAlterEvent
Class ViewsQueryAlterEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Views

Code

public function getQuery() {
  return $this->query;
}