Fry the onion in a pan with some oil. Add the eggplant slices and the zucchini cubes. Sprinkle with a little salt and bake for 15 minutes.
Puree the vegetables, et the cream, egg, egg yolk and cheese.
Butter the molds and pour in the mixture. Put in the oven for an hour in a bain marie at 180ºC.