Health and Safety Code § 113998
ARTICLE 2. Time and Temperature Relationships
If it is necessary to remove potentially hazardous food from the specified holding temperatures to facilitate preparation, this preparation shall in no case exceed two cumulative hours without a return to the specified holding temperatures.