public function QuizQuestion::getBodyFieldTitle in Quiz 8.4
Allow question types to override the body field title
Return value
The title for the body field
2 methods override QuizQuestion::getBodyFieldTitle()
- MatchingQuestion::getBodyFieldTitle in question_types/
matching/ lib/ Drupal/ matching/ MatchingQuestion.php - Implementation of getBodyFieldTitle
- TrueFalseQuestion::getBodyFieldTitle in question_types/
truefalse/ lib/ Drupal/ truefalse/ TrueFalseQuestion.php - Implementation of getBodyFieldTitle
File
- question_types/
quiz_question/ lib/ Drupal/ quiz_question/ QuizQuestion.php, line 76 - Classes used in the Quiz Question module.
Class
- QuizQuestion
- A base implementation of a quiz_question, adding a layer of abstraction between the node API, quiz API and the question types.
Namespace
Drupal\quiz_questionCode
public function getBodyFieldTitle() {
return t('Question');
}