public function UserEmailPendingChangeAccess::__construct in Email confirmer 8
Constructs a UserEmailChangeAccess instance.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\user\UserDataInterface $user_data: The user data service.
File
- email_confirmer_user/
src/ Access/ UserEmailPendingChangeAccess.php, line 39
Class
- UserEmailPendingChangeAccess
- Access check for user email change operations.
Namespace
Drupal\email_confirmer_user\AccessCode
public function __construct(ConfigFactoryInterface $config_factory, UserDataInterface $user_data) {
$this->configFactory = $config_factory;
$this->userData = $user_data;
}