public function CourseObjectCertificate::optionsDefinition in Course 6
Same name and namespace in other branches
- 7.2 modules/course_certificate/course_certificate.classes.inc \CourseObjectCertificate::optionsDefinition()
- 7 modules/course_certificate/course_certificate.classes.inc \CourseObjectCertificate::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_certificate/ course_certificate.classes.inc, line 11
Class
Code
public function optionsDefinition() {
$options = parent::optionsDefinition();
$options['required'] = 0;
$options['certificate_node'] = 1;
return $options;
}