public function CourseObject::isRequired in Course 6
Same name and namespace in other branches
- 7.2 includes/CourseObject.inc \CourseObject::isRequired()
- 7 includes/CourseObject.inc \CourseObject::isRequired()
Is this course object required for course completion?
Return value
bool
File
- includes/
course_object.core.inc, line 630
Class
- CourseObject
- Parent abstract base class of all course objects.
Code
public function isRequired() {
return (bool) $this
->getOption('required');
}