You are here

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

Same name and namespace in other branches
  1. 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

AdminForm

Namespace

Drupal\force_password_change\Form

Code

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