Cut the onion and mushrooms into small cubes.
Fry the onion in a frying pan with 1 tablespoon of vegetable oil for about 1 min., add the mushrooms, salt to taste and fry until the liquid evaporates from the mushrooms.
Let it cool down. Meanwhile, grate 2 hard-boiled eggs.