You are here

public function CourseEnrollment::track in Course 3.x

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

File

src/Entity/CourseEnrollment.php, line 273

Class

CourseEnrollment
Defines the profile entity class.

Namespace

Drupal\course\Entity

Code

public function track() {
  $this
    ->evaluate();
  $this
    ->save();
}