The front glass panel is held in by magnets along the top and sides, plus tabs along the bottom edge that hold it in. If the glass is smashed, the best method is to completely cover the glass panel in packing tape and pry it off instead of using suction cups.
Information sourced from official Apple Technician’s Guide