Get root entry from matrix in matrix #15534
-
I have a nested matrix field and would like to get the owner of an entry a few levels deep. I understand I could do something like |
Beta Was this translation helpful? Give feedback.
Answered by
brandonkelly
Aug 15, 2024
Replies: 1 comment 7 replies
-
This will be possible in Craft 4.12 and 5.4, via {{ entry.getRootOwner().title }} |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
brandonkelly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This will be possible in Craft 4.12 and 5.4, via
getRootOwner()
: (b1e4385){{ entry.getRootOwner().title }}