You are here

public function AdminForm::__construct 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::__construct()

* Constructs an AdminForm object. * *

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: * The config factory service. * @param \Drupal\force_password_change\Service\ForcePasswordChangeServiceInterface $forcePasswordChangeService * The Force Password Change service

File

src/Form/AdminForm.php, line 39

Class

AdminForm

Namespace

Drupal\force_password_change\Form

Code

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