function DbLogController::create
Same name in other branches
- 8.9.x core/modules/dblog/src/Controller/DbLogController.php \Drupal\dblog\Controller\DbLogController::create()
Overrides ControllerBase::create
1 call to DbLogController::create()
- DbLogControllerTest::testDbLogCorrupted in core/
modules/ dblog/ tests/ src/ Kernel/ DbLogControllerTest.php - Tests corrupted log entries can still display available data.
File
-
core/
modules/ dblog/ src/ Controller/ DbLogController.php, line 54
Class
- DbLogController
- Returns responses for dblog routes.
Namespace
Drupal\dblog\ControllerCode
public static function create(ContainerInterface $container) {
return new static($container->get('database'), $container->get('module_handler'), $container->get('date.formatter'), $container->get('form_builder'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.