public function UserMailDefaultsTest::userMailsProvider in Drupal 9
Data provider for user mail testing.
Return value
array Array of arrays containing the set of user mail configuration keys.
File
- core/
modules/ user/ tests/ src/ Kernel/ UserMailDefaultsTest.php, line 43
Class
- UserMailDefaultsTest
- Tests that user.mail default settings are parsed correctly.
Namespace
Drupal\Tests\user\KernelCode
public function userMailsProvider() {
return [
[
'cancel_confirm',
],
[
'password_reset',
],
[
'status_activated',
],
[
'status_blocked',
],
[
'status_canceled',
],
[
'register_admin_created',
],
[
'register_no_approval_required',
],
[
'register_pending_approval',
],
[
'register_pending_approval_admin',
],
];
}