public function CourseObject::uri in Course 7
Same name and namespace in other branches
- 7.2 includes/CourseObject.inc \CourseObject::uri()
Generate URI from course object.
Overrides Entity::uri
File
- includes/
CourseObject.inc, line 1120
Class
- CourseObject
- Parent abstract base class of all course objects.
Code
public function uri() {
return array(
'path' => 'node/' . $this->nid . '/course-object/' . $this
->identifier(),
);
}