abstract public function QuizQuestionEntityTrait::getMaximumScore in Quiz 8.5
Same name and namespace in other branches
- 8.6 src/Entity/QuizQuestionEntityTrait.php \Drupal\quiz\Entity\QuizQuestionEntityTrait::getMaximumScore()
Get the maximum possible score for this question.
Return value
int
1 call to QuizQuestionEntityTrait::getMaximumScore()
- QuizQuestion::save in src/
Entity/ QuizQuestion.php - Saves an entity permanently.
8 methods override QuizQuestionEntityTrait::getMaximumScore()
- LongAnswerQuestion::getMaximumScore in question_types/
quiz_long_answer/ src/ Plugin/ quiz/ QuizQuestion/ LongAnswerQuestion.php - Get the maximum possible score for this question.
- MatchingQuestion::getMaximumScore in question_types/
quiz_matching/ src/ Plugin/ quiz/ QuizQuestion/ MatchingQuestion.php - Get the maximum possible score for this question.
- MultichoiceQuestion::getMaximumScore in question_types/
quiz_multichoice/ src/ Plugin/ quiz/ QuizQuestion/ MultichoiceQuestion.php - Get the maximum possible score for this question.
- QuizDirectionsQuestion::getMaximumScore in question_types/
quiz_directions/ src/ Plugin/ quiz/ QuizQuestion/ QuizDirectionsQuestion.php - Get the maximum possible score for this question.
- QuizPageQuestion::getMaximumScore in question_types/
quiz_page/ src/ Plugin/ quiz/ QuizQuestion/ QuizPageQuestion.php - Implementation of getMaximumScore().
File
- src/
Entity/ QuizQuestionEntityTrait.php, line 159
Class
- QuizQuestionEntityTrait
- A trait all Quiz question strongly typed entity bundles must use.
Namespace
Drupal\quiz\EntityCode
public abstract function getMaximumScore();