Breakfast for a while behind bars (8)
I believe the answer is:
porridge
'breakfast' is the definition.
(porridge might be eaten for breakfast)
I cannot understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for porridge that I've seen before include "Breakfast dish - spell in prison" , "Cooked meal (served in prison?)" , "hot stuff?" , "Breakfast food - prison term" , "Hot breakfast food" .)