function CourseObject::getComponent in Course 3.x
Same name and namespace in other branches
- 8.3 src/Entity/CourseObject.php \Drupal\course\Entity\CourseObject::getComponent()
- 8.2 src/Entity/CourseObject.php \Drupal\course\Entity\CourseObject::getComponent()
Get the object component for this course object.
Return value
string
File
- src/
Entity/ CourseObject.php, line 751
Class
- CourseObject
- Parent abstract base class of all course objects.
Namespace
Drupal\course\EntityCode
function getComponent() {
return $this
->getOption('object_type');
}