Washington D.C., Aug. 17 -- : Actress Heather Locklear has been sentenced to 30 days in a mental health facility for the cop battery case.

According to TMZ, the actress pleaded no contest to eight misdemeanors -- six of which were related to the battery of a police officer or EMT.

The judge stayed a 120-day jail sentence, meaning Locklear must complete the 30-day treatment or face the jail sentence.

Once she is done with the imprisonment, she'll be on three years of informal or unsupervised probation.

Also, she has been ordered to not possess weapons, non-prescribed medications, and alcohol.

Locklear struggled to turn things around after the arrest, which escalated from when police were initially called to her home on a disturbance rep...