You are here

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

Factory method for AutobanTestForm.

Overrides FormBase::create

File

src/Form/AutobanTestForm.php, line 39

Class

AutobanTestForm
Test autoban rule.

Namespace

Drupal\autoban\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('autoban'));
}