Repast is transformed by tarts (8)
I believe the answer is:
pastries
'tarts' is the definition.
The answer and definition can be both things that one consumes for nourishment as well as being plural nouns.
Perhaps they are linked in a way I don't understand?
'repast is transformed' is the wordplay.
'transformed' is an anagram indicator.
'repast'+'is'='repastis'
'repastis' with letters rearranged gives 'PASTRIES'.
'by' is the link.
Can you help me to learn more?
(Another definition for pastries that I've seen is " Bakery items".)