function course_get_handlers in Course 3.x
Same name and namespace in other branches
- 8.3 course.module \course_get_handlers()
- 8.2 course.module \course_get_handlers()
- 6 course.module \course_get_handlers()
- 7.2 course.module \course_get_handlers()
- 7 course.module \course_get_handlers()
Get course object handlers.
Return value
array
10 calls to course_get_handlers()
- CourseEventSubscriber::onRequest in src/
EventSubscriber/ CourseEventSubscriber.php - Check if the current node will fulfill an object.
- CourseObject::getComponentName in src/
Entity/ CourseObject.php - Get the object component title for this course object.
- CourseObject::getTitle in src/
Entity/ CourseObject.php - CourseObjectFulfillmentStorage::doCreate in src/
Storage/ CourseObjectFulfillmentStorage.php - Performs storage-specific creation of entities.
- CourseObjectFulfillmentStorage::mapFromStorageRecords in src/
Storage/ CourseObjectFulfillmentStorage.php - When loading from the database, map any object to its respective class.
File
- ./
course.module, line 73 - course.module Core functionality for Courses.
Code
function course_get_handlers() {
/* @var $pluginManager CourseObjectPluginManager */
$pluginManager = Drupal::service('plugin.manager.course.object');
$plugins = $pluginManager
->getDefinitions();
return $plugins;
}