Pursuant to a resolution adopted by its governing board, a county or city may lend any of its available funds to any special district which will receive state funds pursuant to Section 16272.7 of the Government Code or Section 35.5 of Chapter 332 of the Statutes of 1978. Such loan shall be repaid upon the receipt of such state funds and prior to any other obligation of the district.
Ca. Gov. Code § 16279.5