Get the related entry from an Entries field in a Matrix block within a plugin craft 3
figured this one out on my own, so to get all of the related objects, I just needed to change the above query to $buildings = $location-&gt;buildings-&gt;all();