Cal. Welf. & Inst. Code § 17009
The board of supervisors may provide for the burial or cremation of the indigent dead and may provide for the maintenance of the graves of such dead.