CourseObjectGradedTest.php in Course 8.3
File
modules/course_test/src/Plugin/course/CourseObject/CourseObjectGradedTest.php
View source
<?php
namespace Drupal\course_test\Plugin\course\CourseObject;
class CourseObjectGradedTest extends CourseObjectTest {
public function isGraded() {
return TRUE;
}
}
Classes
Name |
Description |
CourseObjectGradedTest |
Plugin annotation
@CourseObject(
id = "course_test_graded_object",
label = "Test graded course object",
handlers = {
"fulfillment" = "\Drupal\course_test\Plugin\course\CourseObject\CourseObjectTestFulfillment"
}
) |