You are here

public function QuizQuestionInterface::getMaximumScore in Quiz 6.x

Get the maximum possible score for this question.

Return value

int

1 call to QuizQuestionInterface::getMaximumScore()
QuizQuestion::save in src/Entity/QuizQuestion.php
Saves an entity permanently.
8 methods override QuizQuestionInterface::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
Get the maximum possible score for this question.

... See full list

File

src/QuizQuestionInterface.php, line 35

Class

QuizQuestionInterface
Provides an interface for quiz questions.

Namespace

Drupal\quiz

Code

public function getMaximumScore() : int;