We currently have 2 potential types in LMS core:
Standard lessons
Exams
Those should have different lesson navigation handling and different parameters (for example exams have a time limit and opening time span).
Among ecosystem modules there will also potentially be use cases for implementing entire lesson types that will provide their own way of handling activities (integration with external systems that will provide entire lessons for example and LMS will need to only have a result for the whole lesson without individual activities).
hook_entity_bundle_info()
.getLessonHandler()
method in the lesson entity type class that can be overridden by bundle classes.When creating lessons, user will be able to select a bundle (Default or Exam).
Active
1.0
Courses and lessons