The state is getting $27.9 million in federal funds to help families and communities deal with the opioid crisis.