You are here

protected function CourseObject::getTakeUrl in Course 3.x

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

Get the URL to take this course object, if any.

Outline handlers or subclasses should use getUrl().

Return value

Url

1 call to CourseObject::getTakeUrl()
CourseObject::takeObject in src/Entity/CourseObject.php
Take a course object.
4 methods override CourseObject::getTakeUrl()
CourseObjectNode::getTakeUrl in modules/course_content/src/Course/Object/CourseObjectNode.php
Get the URL to take this course object, if any.
CourseObjectPoll::getTakeUrl in modules/course_poll/src/Plugin/course/CourseObject/CourseObjectPoll.php
Get the URL to take this course object, if any.
CourseObjectQuiz::getTakeUrl in modules/course_quiz/src/Plugin/course/CourseObject/CourseObjectQuiz.php
The take URL of the quiz is /take.
CourseObjectWebform::getTakeUrl in modules/course_webform/src/Plugin/course/CourseObject/CourseObjectWebform.php
Get the URL to take this course object, if any.

File

src/Entity/CourseObject.php, line 591

Class

CourseObject
Parent abstract base class of all course objects.

Namespace

Drupal\course\Entity

Code

protected function getTakeUrl() {
}