public function CourseObjectGradedTest::isGraded in Course 3.x
Same name and namespace in other branches
- 8.3 modules/course_test/src/Plugin/course/CourseObject/CourseObjectGradedTest.php \Drupal\course_test\Plugin\course\CourseObject\CourseObjectGradedTest::isGraded()
- 8.2 modules/course_test/src/Plugin/course/CourseObject/CourseObjectGradedTest.php \Drupal\course_test\Plugin\course\CourseObject\CourseObjectGradedTest::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
File
- modules/
course_test/ src/ Plugin/ course/ CourseObject/ CourseObjectGradedTest.php, line 16
Class
- CourseObjectGradedTest
- Plugin annotation @CourseObject( id = "course_test_graded_object", label = "Test graded course object", handlers = { "fulfillment" = "\Drupal\course_test\Plugin\course\CourseObject\CourseObjectTestFulfillment" } )
Namespace
Drupal\course_test\Plugin\course\CourseObjectCode
public function isGraded() {
return TRUE;
}