You are here

public function CourseObject::deleteInstance in Course 3.x

Same name and namespace in other branches
  1. 8.3 src/Entity/CourseObject.php \Drupal\course\Entity\CourseObject::deleteInstance()
  2. 8.2 src/Entity/CourseObject.php \Drupal\course\Entity\CourseObject::deleteInstance()

Objects should implement this method if they need to delete their own content.

1 method overrides CourseObject::deleteInstance()
CourseObjectNode::deleteInstance in modules/course_content/src/Course/Object/CourseObjectNode.php
Destroy the node instance.

File

src/Entity/CourseObject.php, line 797

Class

CourseObject
Parent abstract base class of all course objects.

Namespace

Drupal\course\Entity

Code

public function deleteInstance() {

  //thing_delete();
}