How to fetch fields related to node in view templates? Hi I am trying to do similar in Drupal 8 :

Can we write php conditions in view field templates?

Is that possible to fetch fields related to node such as terms, comments count and comment form link, revisions, voting count and voting widget and edit link in one field template. If I create template file of title field like How can we override view field template in drupal 8  and need to fetch other fields related to node in that same template, But we should not add other fields in view itself but fetch other fields related to node in preprocess or by some other method. 

Please suggest, I am trying but not able to conclude exact approach. 



File made template based on above which is in action for title field everywhere : 


  views-view-field--title.html.twig


Is that possible to fetch other fields related to node in this template without adding fields in view ?

Thanks!
In my opinion it's better to write a template preprocess for your view in yourtheme.theme file. hook_preprocess_views_view()

function yourtheme_preprocess_views_view(array &amp;$variables) { 
  if($variables['view']-&gt;id() == "your_view_id") {
    if (isset($variables['rows'][0]['#rows'])) {
      $nodeValues = [];
      foreach ($variables['rows'][0]['#rows'] as $value) {
        $nodeValue['taxonomyValues'] = $value['#row']-&gt;_entity-&gt;field_taxonomy-&gt;entity;
          :
          :
        $nodeValues[] = $nodeValue;
      }
      $variables['node_values'] = $nodeValues;
    }
  }
}


Above, is a sample code for fetching a taxonomy reference field. Fetch required fields and pass it in your own variable to views-view.html.twig file

To further give template suggestion for views-view.html.twig use 

function yourtheme_theme_suggestions_views_view_alter(array &amp;$suggestions, array $variables)


In your views-view.html.twig

{% for value in node_values %}
   {{value.taxonomyValues}}
{% endfor %}