function ThemeNotUsingClassyLibraryTest::providerTestThemeAccountsForClassyExtensions

Data provider.

The to-skip arrays should become increasingly smaller as issues that remove Classy library dependencies are completed.

Return value

array[] Themes and the extensions to be ignored.

File

core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php, line 426

Class

ThemeNotUsingClassyLibraryTest
Tests that themes do not depend on Classy libraries.

Namespace

Drupal\KernelTests\Core\Theme

Code

public function providerTestThemeAccountsForClassyExtensions() {
    return [
        [
            'theme-name' => 'claro',
            'to-skip' => [],
        ],
        [
            'theme-name' => 'umami',
            'to-skip' => [],
        ],
        [
            'theme-name' => 'bartik',
            'to-skip' => [],
        ],
        [
            'theme-name' => 'seven',
            'to-skip' => [],
        ],
    ];
}

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