public function LoggerClearForm::__construct in MongoDB 8
Constructs a new LoggerClearLogForm.
Parameters
\Drupal\mongodb\Logger\Logger $logger: The logger service..
File
- src/
Form/ LoggerClearForm.php, line 31 - Contains \Drupal\mongodb\Logger\LoggerClearForm.php
Class
- LoggerClearForm
- Provides the form that clears out the log.
Namespace
Drupal\mongodb\FormCode
public function __construct(Logger $logger) {
$this->logger = $logger;
}