public function CourseObjectNode::getTakeType in Course 8.2
Same name and namespace in other branches
- 8.3 modules/course_content/src/Course/Object/CourseObjectNode.php \Drupal\course_content\Course\Object\CourseObjectNode::getTakeType()
- 3.x modules/course_content/src/Course/Object/CourseObjectNode.php \Drupal\course_content\Course\Object\CourseObjectNode::getTakeType()
Simple node course object behavior is to just redirect to the node.
Overrides CourseObject::getTakeType
File
- modules/
course_content/ src/ Course/ Object/ CourseObjectNode.php, line 82
Class
- CourseObjectNode
- A course object that uses a node as a base.
Namespace
Drupal\course_content\Course\ObjectCode
public function getTakeType() {
return 'redirect';
}