public function DetailController::__construct in MongoDB 8.2
Controller constructor.
Parameters
\Psr\Log\LoggerInterface $logger: The logger service, to log intervening events.
\Drupal\mongodb_watchdog\Logger $watchdog: The MongoDB logger, to load stored events.
\Drupal\Core\Config\ImmutableConfig $config: The module configuration.
\Drupal\mongodb_watchdog\EventController $eventController: The event controller service.
\Drupal\Core\Pager\PagerManagerInterface $pagerManager: The core pager.manager service.
Overrides ControllerBase::__construct
File
- modules/
mongodb_watchdog/ src/ Controller/ DetailController.php, line 44
Class
- DetailController
- The controller for the event detail page.
Namespace
Drupal\mongodb_watchdog\ControllerCode
public function __construct(LoggerInterface $logger, Logger $watchdog, ImmutableConfig $config, EventController $eventController, PagerManagerInterface $pagerManager) {
parent::__construct($logger, $watchdog, $pagerManager, $config);
$this->eventController = $eventController;
}