4 calls to _user_mail_notify()

RestAuthenticationController::resetPassword in core/modules/rest/src/Controller/RestAuthenticationController.php
Resets a user password.
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.
UserMailNotifyTest::testUserMailsWithoutAccountEmail in core/modules/user/tests/src/Kernel/UserMailNotifyTest.php
Tests mails are not sent when the account has no email address.

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