You are here

CourseObjectGradedTest.php in Course 3.x

File

modules/course_test/src/Plugin/course/CourseObject/CourseObjectGradedTest.php
View source
<?php

namespace Drupal\course_test\Plugin\course\CourseObject;


/**
 * @CourseObject(
 *   id = "course_test_graded_object",
 *   label = "Test graded course object",
 *   handlers = {
 *     "fulfillment" = "\Drupal\course_test\Plugin\course\CourseObject\CourseObjectTestFulfillment"
 *   }
 * )
 */
class CourseObjectGradedTest extends CourseObjectTest {
  public function isGraded() {
    return TRUE;
  }

}

Classes

Namesort descending Description
CourseObjectGradedTest Plugin annotation @CourseObject( id = "course_test_graded_object", label = "Test graded course object", handlers = { "fulfillment" = "\Drupal\course_test\Plugin\course\CourseObject\CourseObjectTestFulfillment" } )