Implements hook_views_query_substitutions().
Allow replacement of current user ID so we can cache these queries.
public function viewsQuerySubstitutions(ViewExecutable $view) { return [ '***CURRENT_USER***' => \Drupal::currentUser()->id(), ]; }