public function CourseObjectManual::take in Course 3.x
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()
- 8.2 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 23
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(),
];
}