public function CourseObjectManual::take in Course 8.2
Same name and namespace in other branches
- 8.3 modules/course_object_manual/src/Plugin/course/CourseObject/CourseObjectManual.php \Drupal\course_object_manual\Plugin\course\CourseObject\CourseObjectManual::take()
- 3.x modules/course_object_manual/src/Plugin/course/CourseObject/CourseObjectManual.php \Drupal\course_object_manual\Plugin\course\CourseObject\CourseObjectManual::take()
Display status message as course content.
Overrides CourseObject::take
File
- modules/
course_object_manual/ src/ Plugin/ course/ CourseObject/ CourseObjectManual.php, line 22
Class
- CourseObjectManual
- Plugin annotation @CourseObject( id = "manual", label = "Manual step", handlers = { "fulfillment" = "\Drupal\course\Entity\CourseObjectFulfillment" } )
Namespace
Drupal\course_object_manual\Plugin\course\CourseObjectCode
public function take() {
return [
'#plain_text' => $this
->getStatus(),
];
}