A board of county commissioners shall provide by contract or otherwise for the temporary care, shelter or detention of children under this chapter and chapters 26-8A , 26-8B , and 26-8C pending the adjudication of such children. Section 26-7A-94 governs the payment of custodial costs of children. Source: SDC 1939, § 43.0309; SL 1961, ch 213 , § 1; SL 1968, ch 164 , § 7; SL 1991, ch 217 , § 32B; SDCL, § 26-8-28.