You are here

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

Factory method for AutobanFormBase.

Overrides FormBase::create

File

src/Form/AutobanDeleteAllForm.php, line 46

Class

AutobanDeleteAllForm
Class AutobanDeleteAllForm.

Namespace

Drupal\autoban\Form

Code

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