You are here

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

Construct the AutobanBanForm.

Parameters

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

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

File

src/Form/AutobanBanForm.php, line 41

Class

AutobanBanForm
Displays banned IP addresses.

Namespace

Drupal\autoban\Form

Code

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