The embryo sac of Allium is a bisporic embryo sac, which means that it's produced from two megaspores. The process of forming a bisporic embryo sac is characterized by:
Meiosis: Two megaspores are produced from the megaspore mother cell
Programmed cell death: The megaspore closest to the micropyle dies
Single functional megaspore: One megaspore remains functional and has two haploid nuclei