For a complex view, I need to alter the output of a localized term field: instead of putting out the TID of the term, I would like to render the localized term name. Does someone know how to alter the {{ output -}} in template file views-view-field.html.twig?

  • It's a bit late for that, at this point the field output is finally rendered. This should be possible to configure in Views UI with a relationship to taxonomy. – 4k4 May 11 at 9:29
  • Yes, you're right. I was looking for a workaround because of this obstacle/issue in views: drupal.stackexchange.com/questions/281051/… – Madam Adam May 12 at 16:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.