public function CourseObjectTest::optionsDefinition in Course 7
Same name and namespace in other branches
- 7.2 tests/course_test/course_test.classes.inc \CourseObjectTest::optionsDefinition()
Define configuration elements and their defaults.
Extended classes should call parent::optionsDefinition first to get the parent's configuration.
Overrides CourseObject::optionsDefinition
File
- tests/
course_test/ course_test.classes.inc, line 16
Class
- CourseObjectTest
- Dummy example course object.
Code
public function optionsDefinition() {
$options = parent::optionsDefinition();
$options['test_option'] = NULL;
return $options;
}