The role of interfaces and domain boundaries in order—7disorder transitions