You are here

public function AutobanAnalyzeForm::__construct in Automatic IP ban (Autoban) 8

Construct the AutobanAnalyzeForm.

Parameters

\Drupal\Core\Database\Connection $connection: The database connection.

\Drupal\Core\Entity\EntityTypeManager $entity_type_manager: Entity type manager.

\Drupal\autoban\Controller\AutobanController $autoban: Autoban object.

File

src/Form/AutobanAnalyzeForm.php, line 53

Class

AutobanAnalyzeForm
Analyze watchdog entries for IP addresses for ban.

Namespace

Drupal\autoban\Form

Code

public function __construct(Connection $connection, EntityTypeManager $entity_type_manager, AutobanController $autoban) {
  $this->connection = $connection;
  $this->entityTypeManager = $entity_type_manager;
  $this->autoban = $autoban;
}