function AdminNegotiatorTest::getThemes

Same name in other branches
  1. 9 core/modules/user/tests/src/Unit/Theme/AdminNegotiatorTest.php \Drupal\Tests\user\Unit\Theme\AdminNegotiatorTest::getThemes()
  2. 8.9.x core/modules/user/tests/src/Unit/Theme/AdminNegotiatorTest.php \Drupal\Tests\user\Unit\Theme\AdminNegotiatorTest::getThemes()
  3. 10 core/modules/user/tests/src/Unit/Theme/AdminNegotiatorTest.php \Drupal\Tests\user\Unit\Theme\AdminNegotiatorTest::getThemes()

Provides a list of theme names to test.

File

core/modules/user/tests/src/Unit/Theme/AdminNegotiatorTest.php, line 38

Class

AdminNegotiatorTest
Tests AdminNegotiator class.

Namespace

Drupal\Tests\user\Unit\Theme

Code

public static function getThemes() {
    return [
        [
            'claro',
            'claro',
        ],
        [
            NULL,
            NULL,
        ],
        [
            '',
            NULL,
        ],
    ];
}

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