You are here

function CourseObjectBroken::take in Course 8.3

Same name and namespace in other branches
  1. 8.2 src/Object/CourseObjectBroken.php \Drupal\course\Course\Object\CourseObjectBroken::take()
  2. 3.x src/Course/Object/CourseObjectBroken.php \Drupal\course\Course\Object\CourseObjectBroken::take()

Course object entry point for taking. This method should return a value corresponding to the type set in getTakeType().

Overrides CourseObject::take

File

src/Object/CourseObjectBroken.php, line 9

Class

CourseObjectBroken

Namespace

Drupal\course\Course\Object

Code

function take() {
  return t('This course object is misconfigured. Please contact the administrator.');
}