function ThemeNotUsingClassyLibraryTest::providerTestThemeNotUsingClassyLibraries
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\ThemeCode
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' => [],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.