You are here

public function CourseObjectNode::delete in Course 7.2

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

Destroy the node instance.

Overrides CourseObject::delete

File

includes/CourseObjectNode.inc, line 114

Class

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

Code

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