You are here

public function RoleForceForm::__construct in Force Password Change 2.0.x

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

Constructs an AdminForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory service.

\Drupal\Core\Datetime\DateFormatterInterface $dateFormatter: The date formatter service.

Drupal\force_password_change\Service\ForcePasswordChangeServiceInterface $passwordChangeService: The force password change service.

File

src/Form/RoleForceForm.php, line 48

Class

RoleForceForm

Namespace

Drupal\force_password_change\Form

Code

public function __construct(ConfigFactoryInterface $configFactory, DateFormatterInterface $dateFormatter, ForcePasswordChangeServiceInterface $passwordChangeService) {
  $this->configFactory = $configFactory;
  $this->dateFormatter = $dateFormatter;
  $this->passwordChangeService = $passwordChangeService;
}