You are here

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

Construct the AutobanTestForm.

Parameters

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

File

src/Form/AutobanTestForm.php, line 32

Class

AutobanTestForm
Test autoban rule.

Namespace

Drupal\autoban\Form

Code

public function __construct(AutobanController $autoban) {
  $this->autoban = $autoban;
}