You are here

CourseObjectTestFulfillment.php in Course 8.2

File

modules/course_test/src/Plugin/course/CourseObject/CourseObjectTestFulfillment.php
View 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

Namesort descending Description
CourseObjectTestFulfillment Course fulfillment class for test.