The habitats where primrose~(Primula vulgaris) grows:

Altantic hazel wood
Atlantic oak wood
Brownfield
Caledonian forest
Coastal floodplain grazing marsh
Dune slack
Gateways and tracks
Hard cliff and cliff slope
Limestone pavement
Lowland calcareous grassland
Lowland dry acid grassland
Lowland dry heath
Lowland dry oak and birch wood
Lowland fen
Lowland meadow and pasture
Lowland mixed oak and ash wood
Machair sand dune
Maritime cliff
Mesotrophic grassland
Mountain ledge
Northern hay meadow
Pond ditch and canal
Purple moor grass and rush pasture
Sand dune
Traditional orchard
Upland acid grassland
Upland birch wood
Upland calcareous grassland
Upland dry heath
Upland mixed ash wood
Upland rush pasture
Upland spring flush
Wood pasture