You are here

public function CourseObject::setDelete in Course 7

Same name and namespace in other branches
  1. 7.2 includes/CourseObject.inc \CourseObject::setDelete()

Mark this object for deletion.

File

includes/CourseObject.inc, line 385

Class

CourseObject
Parent abstract base class of all course objects.

Code

public function setDelete(&$form, &$form_state) {
  $form_state['values']['delete'] = 1;
}