The habitats where foxglove~(Digitalis purpurea) grows:

Altantic hazel wood
Atlantic oak wood
Beech wood
Bracken scrub
Brownfield
Caledonian forest
Damp fertile disturbed
Hard cliff and cliff slope
Hedgerow scrub
Limestone pavement
Lowland dry heath
Lowland dry oak and birch wood
Lowland mixed oak and ash wood
Mixed scrub
Mountain ledge
Rocky slope
Scree
Traditional orchard
Upland birch wood
Upland dry heath
Upland mixed ash wood
Wet woodland
Wood pasture