durpal referencedItem() code example Example: get reference field entities // Reference field entities. $node->get($field)->referencedEntities();