Cutting green fresh onion on table. The onion plant has a fan of hollow, bluish-green leaves and the bulb at the base of the plant begins to swell when a certain day-length is reached. In the autumn the foliage dies down and the outer layers of the bulb become dry and brittle. The crop is harvested and dried and the onions are ready for use or storage. The crop is prone to attack by a number of pests and diseases, particularly the onion fly, the onion eelworm and various fungi that cause rotting. Some varieties of A. cepa such as shallots and potato onions produce multiple bulbs.