Rules to deduct parents as dependents

In the past I was able to get a deduction for my parents and all the dependents on my return.  What is the rule in 2018 for this?