Typically there are designated rooms with toys to help children play while they wait for their parents. It's also important that daycares have a toddler-friendly policy when it comes to discipline or behavior management. One of the most important things is to provide freedom while still setting boundaries.
Toddler hood is a time of exploration and new experiences. So daycare should watch out for distraction materials, observing what new activities are being introduced by toddlers, deciding which are appropriate in their classrooms, and using them appropriately. Focusing on the teaching process rather than punishing misbehavior can often help divert determination from inappropriate behaviors towards desired behaviors by structuring lessons accordingly.