public function CourseObjectManual::optionsDefinition in Course 6
Same name and namespace in other branches
- 7.2 modules/course_object_manual/course_object_manual.classes.inc \CourseObjectManual::optionsDefinition()
- 7 modules/course_object_manual/course_object_manual.classes.inc \CourseObjectManual::optionsDefinition()
Define configuration elements and their defaults.
Extended classes should call parent::optionsDefinition first to get the parent's configuration.
Overrides CourseObject::optionsDefinition
File
- modules/
course_object_manual/ course_object_manual.classes.inc, line 34
Class
Code
public function optionsDefinition() {
$defaults = parent::optionsDefinition();
$defaults['complete_msg'] = 'Your instructor has marked you as passed.';
$defaults['incomplete_msg'] = 'Your instructor has not given you a pass/fail grade yet.';
$defaults['failed_msg'] = 'Your instructor has marked you as failed.';
return $defaults;
}