The habitats where cowslip~(Primula veris) grows:

Brownfield
Coastal floodplain grazing marsh
Hard cliff and cliff slope
Lowland calcareous grassland
Lowland meadow and pasture
Machair sand dune
Mesotrophic grassland
Northern hay meadow
Sand dune
Traditional orchard