You are here

public static function AdminForm::create in Force Password Change 8

Same name and namespace in other branches
  1. 2.0.x src/Form/AdminForm.php \Drupal\force_password_change\Form\AdminForm::create()

*

Overrides FormBase::create

File

src/Form/AdminForm.php, line 48

Class

AdminForm

Namespace

Drupal\force_password_change\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('config.factory'), $container
    ->get('force_password_change.service'));
}