In any local governmental unit receiving State funds, each employee whose duties pertain to determination of eligibility for or the amount of public aid is prohibited from engaging in at any time, whether during or outside of regular working hours, any of the following activities:
Any employee who engages in the foregoing proscribed political activities shall be subject to immediate discharge in accordance with the procedures controlling his position. If an employee engages in such activities at the request or direction of any officer or officers of the local governmental unit, or if the governmental unit fails to initiate procedures for the dismissal of an employee who persists in such activities, the Illinois Department may withhold the payment of any further State funds to the local governmental unit until the governmental unit has established that its actions are in full accord with the objectives of this Section.
305 ILCS 5/12-21.7