function CourseObjectQuiz::isGraded in Course 3.x
Same name and namespace in other branches
- 8.3 modules/course_quiz/src/Plugin/course/CourseObject/CourseObjectQuiz.php \Drupal\course_quiz\Plugin\course\CourseObject\CourseObjectQuiz::isGraded()
- 8.2 modules/course_quiz/src/Plugin/course/CourseObject/CourseObjectQuiz.php \Drupal\course_quiz\Plugin\course\CourseObject\CourseObjectQuiz::isGraded()
Is this object graded?
Returning TRUE here will cause some more configurations to show on the object's form.
Return value
bool
Overrides CourseObject::isGraded
1 call to CourseObjectQuiz::isGraded()
- CourseObjectQuiz::getStatus in modules/
course_quiz/ src/ Plugin/ course/ CourseObject/ CourseObjectQuiz.php - Get the status of this quiz for the requirements list.
File
- modules/
course_quiz/ src/ Plugin/ course/ CourseObject/ CourseObjectQuiz.php, line 184
Class
- CourseObjectQuiz
- Plugin annotation @CourseObject( id = "quiz", label = "Quiz", handlers = { "fulfillment" = "\Drupal\course_quiz\Plugin\course\CourseObject\CourseObjectQuizFulfillment" } )
Namespace
Drupal\course_quiz\Plugin\course\CourseObjectCode
function isGraded() {
return TRUE;
}