9 calls to _user_mail_notify() in Drupal 10
- RegisterForm::save in core/
modules/ user/ src/ RegisterForm.php - User::postSave in core/
modules/ user/ src/ Entity/ User.php - UserAuthenticationController::resetPassword in core/
modules/ user/ src/ Controller/ UserAuthenticationController.php - Resets a user password.
- UserCancelForm::submitForm in core/
modules/ user/ src/ Form/ UserCancelForm.php - UserMailNotifyTest::testUserMailsNotSent in core/
modules/ user/ tests/ src/ Kernel/ UserMailNotifyTest.php - Tests mails are not sent when notify.$op is FALSE.
- UserMailNotifyTest::testUserMailsSent in core/
modules/ user/ tests/ src/ Kernel/ UserMailNotifyTest.php - Tests mails are sent when notify.$op is TRUE.
- UserPasswordForm::submitForm in core/
modules/ user/ src/ Form/ UserPasswordForm.php - Form submission handler.
- UserRegistrationResource::sendEmailNotifications in core/
modules/ user/ src/ Plugin/ rest/ resource/ UserRegistrationResource.php - Sends email notifications if necessary for user that was registered.
- _user_cancel in core/
modules/ user/ user.module - Implements callback_batch_operation().