You are here

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

Construct the AutobanFormBase.

Parameters

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

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

File

src/Form/AutobanDeleteAllForm.php, line 38

Class

AutobanDeleteAllForm
Class AutobanDeleteAllForm.

Namespace

Drupal\autoban\Form

Code

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