Let modules modify the query just prior to finalizing it.
\Drupal\views\ViewExecutable $view: The view which is executed.
public function alter(ViewExecutable $view) { }