public function ThemeNotUsingClassyLibraryTest::providerTestThemeAccountsForClassyExtensions 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 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\ThemeCode
public function providerTestThemeAccountsForClassyExtensions() {
return [
[
'theme-name' => 'claro',
'to-skip' => [],
],
[
'theme-name' => 'umami',
'to-skip' => [],
],
[
'theme-name' => 'bartik',
'to-skip' => [],
],
[
'theme-name' => 'seven',
'to-skip' => [],
],
];
}