function UserMailDefaultsTest::userMailsProvider

Same name in other branches
  1. 9 core/modules/user/tests/src/Kernel/UserMailDefaultsTest.php \Drupal\Tests\user\Kernel\UserMailDefaultsTest::userMailsProvider()
  2. 10 core/modules/user/tests/src/Kernel/UserMailDefaultsTest.php \Drupal\Tests\user\Kernel\UserMailDefaultsTest::userMailsProvider()

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 45

Class

UserMailDefaultsTest
Tests that user.mail default settings are parsed correctly.

Namespace

Drupal\Tests\user\Kernel

Code

public static 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',
        ],
    ];
}

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