public function AutobanDbLogController::__construct in Automatic IP ban (Autoban) 8
Construct the AutobanAnalyzeForm.
Parameters
\Drupal\Core\Database\Connection $database: A database connection.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: A module handler.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder service.
\Drupal\autoban\Controller\AutobanController $autoban: Autoban object.
Overrides DbLogController::__construct
File
- modules/
autoban_dblog/ src/ Controller/ AutobanDbLogController.php, line 48 - Contains \Drupal\autoban_dblog\Controller\AutobanDbLogController.php .
Class
- AutobanDbLogController
- Autoban database logging.
Namespace
Drupal\autoban_dblog\ControllerCode
public function __construct(Connection $database, ModuleHandlerInterface $module_handler, DateFormatterInterface $date_formatter, FormBuilderInterface $form_builder, AutobanController $autoban) {
parent::__construct($database, $module_handler, $date_formatter, $form_builder);
$this->autoban = $autoban;
}