public function CourseObject::deleteInstance in Course 3.x
Same name and namespace in other branches
- 8.3 src/Entity/CourseObject.php \Drupal\course\Entity\CourseObject::deleteInstance()
- 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\EntityCode
public function deleteInstance() {
//thing_delete();
}