You are here

public static function ConfigForm::create in Restrict IP 8

Same name and namespace in other branches
  1. 8.2 src/Form/ConfigForm.php \Drupal\restrict_ip\Form\ConfigForm::create()
  2. 3.x src/Form/ConfigForm.php \Drupal\restrict_ip\Form\ConfigForm::create()

*

Overrides ConfigFormBase::create

File

src/Form/ConfigForm.php, line 82

Class

ConfigForm

Namespace

Drupal\restrict_ip\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('current_user'), $container
    ->get('module_handler'), $container
    ->get('restrict_ip.service'));
}