function CourseObjectFulfillment::isComplete in Course 8.3
Same name and namespace in other branches
- 8.2 src/Entity/CourseObjectFulfillment.php \Drupal\course\Entity\CourseObjectFulfillment::isComplete()
- 3.x src/Entity/CourseObjectFulfillment.php \Drupal\course\Entity\CourseObjectFulfillment::isComplete()
Is this fulfillment complete?
Return value
bool
File
- src/
Entity/ CourseObjectFulfillment.php, line 86
Class
- CourseObjectFulfillment
- Parent class for course object fulfillment. Unlike Course objects, this is not abstract and can be used when the fulfillment requirements are simple.
Namespace
Drupal\course\EntityCode
function isComplete() {
return (bool) $this
->getOption('complete');
}