public function CourseObject::isRequired in Course 7
Same name and namespace in other branches
- 6 includes/course_object.core.inc \CourseObject::isRequired()
- 7.2 includes/CourseObject.inc \CourseObject::isRequired()
Is this course object required for course completion?
Return value
bool
1 call to CourseObject::isRequired()
- CourseObject::buildContent in includes/
CourseObject.inc - Builds a structured array representing the entity's content.
File
- includes/
CourseObject.inc, line 662
Class
- CourseObject
- Parent abstract base class of all course objects.
Code
public function isRequired() {
return (bool) $this
->getOption('required');
}