Here's a breakdown:
* te: This is the informal singular form of "you."
* gusta: This is the third-person singular form of the verb "gustar" (to like).
* hablar: This means "to talk" or "to speak."
* en la clase de espanol: This means "in Spanish class."
So, the entire phrase is a question asking someone if they enjoy talking in Spanish class.