9 calls to _user_mail_notify()

RegisterForm::save in core/modules/user/src/RegisterForm.php
Form submission handler for the 'save' action.
User::postSave in core/modules/user/src/Entity/User.php
Acts on a saved entity before the insert or update hook is invoked.
UserAuthenticationController::resetPassword in core/modules/user/src/Controller/UserAuthenticationController.php
Resets a user password.
UserCancelForm::submitForm in core/modules/user/src/Form/UserCancelForm.php
This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form stateā€¦
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().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.