public function ForcePasswordChangeService::__construct in Force Password Change 8
Same name and namespace in other branches
- 2.0.x src/Service/ForcePasswordChangeService.php \Drupal\force_password_change\Service\ForcePasswordChangeService::__construct()
* Constructs a ForcePasswordChangeService object. * *
Parameters
\Drupal\force_password_change\Mapper\ForcePasswordChangeMapperInterface $mapper: * The force password change data mapper * @param \Drupal\Core\Session\AccountProxyInterface $currentUser * The current user * @param \Drupal\Core\Config\ConfigFactoryInterface $configFactory * The config factory * @param \Drupal\user\UserDataInterface $userData * The user data service
File
- src/
Service/ ForcePasswordChangeService.php, line 53
Class
Namespace
Drupal\force_password_change\ServiceCode
public function __construct(ForcePasswordChangeMapperInterface $mapper, AccountProxyInterface $currentUser, ConfigFactoryInterface $configFactory, UserDataInterface $userData) {
$this->mapper = $mapper;
$this->currentUser = $currentUser;
$this->configFactory = $configFactory;
$this->userData = $userData;
}