The habitats where common rest-harrow~(Ononis repens) grows:

Damp fertile disturbed
Dune slack
Hard cliff and cliff slope
Lowland calcareous grassland
Lowland dry heath
Machair sand dune
Maritime cliff
Sand dune