You are here

function CourseObjectQuizFulfillment::optionsDefinition in Course 8.2

Same name and namespace in other branches
  1. 8.3 modules/course_quiz/src/Plugin/course/CourseObject/CourseObjectQuizFulfillment.php \Drupal\course_quiz\Plugin\course\CourseObject\CourseObjectQuizFulfillment::optionsDefinition()
  2. 3.x modules/course_quiz/src/Plugin/course/CourseObject/CourseObjectQuizFulfillment.php \Drupal\course_quiz\Plugin\course\CourseObject\CourseObjectQuizFulfillment::optionsDefinition()

Define storage for quiz result IDs.

Overrides CourseObjectFulfillment::optionsDefinition

File

modules/course_quiz/src/Plugin/course/CourseObject/CourseObjectQuizFulfillment.php, line 17

Class

CourseObjectQuizFulfillment
Course fulfillment class for quizzes.

Namespace

Drupal\course_quiz\Plugin\course\CourseObject

Code

function optionsDefinition() {
  return array(
    'quiz_result_ids' => array(),
  );
}