You are here

public function CourseObjectNode::delete in Course 6

Same name and namespace in other branches
  1. 7.2 includes/CourseObjectNode.inc \CourseObjectNode::delete()
  2. 7 includes/CourseObjectNode.inc \CourseObjectNode::delete()

Destroy the node instance.

Overrides CourseObject::delete

File

includes/course_object.core.inc, line 1133

Class

CourseObjectNode
A course object that uses a node as a base.

Code

public function delete() {
  node_delete($this
    ->getInstanceId());
}