public function CourseObjectNode::getTakeType in Course 3.x
Same name and namespace in other branches
- 8.3 modules/course_content/src/Course/Object/CourseObjectNode.php \Drupal\course_content\Course\Object\CourseObjectNode::getTakeType()
- 8.2 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 86
Class
- CourseObjectNode
- A course object that uses a node as a base.
Namespace
Drupal\course_content\Course\ObjectCode
public function getTakeType() {
return 'redirect';
}