That will be it - it is the transformer, of course, which has the permanent and switched live supply, so it is the transformer, of course, which contains the timed-overrun circuitry. All the fan has is a 12V motor.
To have the timer in the fan would require a ridiculous amount of complexity in signalling and require more cabling between the transformer and the fan.