You are here

public function ThemeNotUsingClassyLibraryTest::providerTestThemeNotUsingClassyLibraries in Drupal 8

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 libraries to be ignored.

File

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

Class

ThemeNotUsingClassyLibraryTest
Tests that themes do not depend on Classy libraries.

Namespace

Drupal\KernelTests\Core\Theme

Code

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