function DbLogController::__construct
Same name and namespace in other branches
- 10 core/modules/dblog/src/Controller/DbLogController.php \Drupal\dblog\Controller\DbLogController::__construct()
- 11.x core/modules/dblog/src/Controller/DbLogController.php \Drupal\dblog\Controller\DbLogController::__construct()
- 9 core/modules/dblog/src/Controller/DbLogController.php \Drupal\dblog\Controller\DbLogController::__construct()
- 8.9.x core/modules/dblog/src/Controller/DbLogController.php \Drupal\dblog\Controller\DbLogController::__construct()
File
-
core/
modules/ dblog/ src/ Controller/ DbLogController.php, line 51
Class
- DbLogController
- Returns responses for dblog routes.
Namespace
Drupal\dblog\ControllerCode
public function __construct(Connection $database, DateFormatterInterface $date_formatter, FormBuilderInterface $form_builder, protected readonly DbLogFilters $dbLogFilters) {
$this->database = $database;
$this->dateFormatter = $date_formatter;
$this->formBuilder = $form_builder;
$this->userStorage = $this->entityTypeManager()
->getStorage('user');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.