You are here

public function CourseObject::uri in Course 7.2

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

Generate URI from course object.

Overrides Entity::uri

File

includes/CourseObject.inc, line 1138

Class

CourseObject
Parent abstract base class of all course objects.

Code

public function uri() {
  return array(
    'path' => 'node/' . $this->nid . '/course-object/' . $this
      ->identifier(),
  );
}