functionviews_preprocess_comment(&$variables) : void {
// The view data is added to the comment in// \Drupal\views\Plugin\views\row\EntityRow::preRender().if (!empty($variables['comment']->view) && $variables['comment']->view->storage
->id()) {
$variables['view'] = $variables['comment']->view;
}
}