function CourseObjectBroken::take in Course 8.3
Same name and namespace in other branches
- 8.2 src/Object/CourseObjectBroken.php \Drupal\course\Course\Object\CourseObjectBroken::take()
- 3.x src/Course/Object/CourseObjectBroken.php \Drupal\course\Course\Object\CourseObjectBroken::take()
Course object entry point for taking. This method should return a value corresponding to the type set in getTakeType().
Overrides CourseObject::take
File
- src/
Object/ CourseObjectBroken.php, line 9
Class
Namespace
Drupal\course\Course\ObjectCode
function take() {
return t('This course object is misconfigured. Please contact the administrator.');
}