Tex. Gov't Code § 3002.106
(a) Notwithstanding any other law except as provided by Subsection (b), this state has sovereign immunity, a political subdivision has governmental immunity, and an officer, employee, or agent of this state or a political subdivision has official immunity in an action, claim, counterclaim, or any type of legal or equitable action that:
(2) seeks to prevent or enjoin this state, a political subdivision, or an officer, employee, or agent of this state or a political subdivision from:
(b) Subsection (a) does not apply if:
Added by Acts 2025, 89th Leg., 2nd C.S., Ch. 20 (S.B. 8), Sec. 2, eff. December 4, 2025.