You are here

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

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

*

Overrides FormBase::create

File

src/Form/RoleForceForm.php, line 56

Class

RoleForceForm

Namespace

Drupal\force_password_change\Form

Code

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