Draft: Resolve #3203489 "Set filename as"
Closes #3203489
Merge request reports
Activity
81 public function __construct( 82 UserStorageInterface $user_storage, 83 LanguageManagerInterface $language_manager, 84 ConfigFactory $config_factory, 85 FloodInterface $flood, 86 protected UserNameValidator|TypedDataManagerInterface $userNameValidator, 87 EmailValidatorInterface $email_validator, 88 ) { 79 89 $this->userStorage = $user_storage; 80 90 $this->languageManager = $language_manager; 81 91 $this->configFactory = $config_factory; 82 92 $this->flood = $flood; 83 $this->typedDataManager = $typed_data_manager; 84 93 $this->emailValidator = $email_validator; 94 if (!$userNameValidator instanceof UserNameValidator) { 95 @\trigger_error('Passing $userNameValidator as \Drupal\Core\TypedData\TypedDataManagerInterface to ' . __METHOD__ . ' () is deprecated in drupal:10.3.0 and is removed in drupal:10.0.0. Pass a Drupal\user\UserValidator instead. See https://www.drupal.org/node/3431205', E_USER_DEPRECATED);
Please register or sign in to reply