Can I bring my toddler? UK

I’m pregnant with my second and have a 19 month old already. So my question is, say if I go into labour in the middle of the night and have to go to the hospital and can’t reach anyone to look after my toddler will they let her in the hospital? My partner will be coming with me but I’m pretty sure it would be hard to keep a toddler out of the way and keep them occupied. What would we do with her? Would my partner have to stay home with her until the morning?