Skip to main content
1 of 4
quantumized
  • 1.3k
  • 9
  • 25

How can I get a list of all languages translation that a node has in D9?

I'm trying to get a list of language translations that a node has in my theme_preprocess_node() function. I have the node object and can check for a translation on a one-by-one basis if I have the list of languages. What I need is a list of all of the translations for the entity/node.

Thanks!

quantumized
  • 1.3k
  • 9
  • 25