CourseObjectTestFulfillment.php in Course 3.x
Same filename and directory in other branches
File
modules/course_test/src/Plugin/course/CourseObject/CourseObjectTestFulfillment.phpView source
<?php
namespace Drupal\course_test\Plugin\course\CourseObject;
use Drupal\course\Entity\CourseObjectFulfillment;
/**
* Course fulfillment class for test.
*/
class CourseObjectTestFulfillment extends CourseObjectFulfillment {
/**
* Define storage for fulfillment values.
*/
function optionsDefinition() {
return array(
'test_value' => NULL,
);
}
}
Classes
Name | Description |
---|---|
CourseObjectTestFulfillment | Course fulfillment class for test. |