public function AdminForm::__construct in Force Password Change 2.0.x
Same name and namespace in other branches
- 8 src/Form/AdminForm.php \Drupal\force_password_change\Form\AdminForm::__construct()
Constructs an AdminForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory service.
\Drupal\force_password_change\Service\ForcePasswordChangeServiceInterface $passwordChangeService: The Force Password Change service.
File
- src/
Form/ AdminForm.php, line 41
Class
Namespace
Drupal\force_password_change\FormCode
public function __construct(ConfigFactoryInterface $configFactory, ForcePasswordChangeServiceInterface $passwordChangeService) {
$this->configFactory = $configFactory;
$this->passwordChangeService = $passwordChangeService;
}