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