function CourseObjectNode::getNode 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::getNode()
- 8.2 modules/course_content/src/Course/Object/CourseObjectNode.php \Drupal\course_content\Course\Object\CourseObjectNode::getNode()
Get this node object's node.
Return value
8 calls to CourseObjectNode::getNode()
- CourseObjectNode::freeze in modules/
course_content/ src/ Course/ Object/ CourseObjectNode.php - Freeze data to persist over cloning/exporting.
- CourseObjectNode::getEditUrl in modules/
course_content/ src/ Course/ Object/ CourseObjectNode.php - Get the URL to edit this course object, if any.
- CourseObjectNode::getTakeUrl in modules/
course_content/ src/ Course/ Object/ CourseObjectNode.php - Get the URL to take this course object, if any.
- CourseObjectNode::getTitle in modules/
course_content/ src/ Course/ Object/ CourseObjectNode.php - Get the object title, or return this object's node's title if the option is set.
- CourseObjectNode::getViewUrl in modules/
course_content/ src/ Course/ Object/ CourseObjectNode.php - Get the URL to view this course object, if any.
File
- modules/
course_content/ src/ Course/ Object/ CourseObjectNode.php, line 396
Class
- CourseObjectNode
- A course object that uses a node as a base.
Namespace
Drupal\course_content\Course\ObjectCode
function getNode() {
return Node::load($this
->get('instance')
->getString());
}