Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I have tried to remove the output of the question_type_name div for questions during a quiz (specifically the multichoice question), but no luck. I can not find any hook that allows me to remove it. I have tried preprocess_node, preprocess_field, view_alter, form_alter.
Is there a hook or option I missed that allows me to do this?
Best regards,
Troels.
Comments
Comment #1
tss CreditAttribution: tss commentedComment #2
djdevinHave you tried hook_page_alter?
My vote is that we remove it, I'm not sure what benefit it has while taking a quiz.
You could also css it out, I believe it has a class of "question_type_name".