public function ExperimentalThemeTest::providerTestExperimentalConfirmForm in Drupal 10
Data provider for experimental test themes.
@todo Turn the check for 'Testing legacy Key/Value pair "experimental: true"' into a @legacy test triggering a deprecation as part of https://www.drupal.org/node/3250342
Return value
string[][] An array with four items:
- The theme name.
- The dependency theme name.
- The machine theme name.
- The machine dependency theme name.
File
- core/
modules/ system/ tests/ src/ Functional/ Theme/ ExperimentalThemeTest.php, line 153
Class
- ExperimentalThemeTest
- Tests the installation of experimental themes.
Namespace
Drupal\Tests\system\Functional\ThemeCode
public function providerTestExperimentalConfirmForm() : array {
return [
'Testing Key/Value pair "lifecycle: experimental"' => [
'Experimental test',
'Experimental dependency test',
'experimental_theme_test',
'experimental_theme_dependency_test',
],
'Testing legacy Key/Value pair "experimental: true"' => [
'Legacy experimental test',
'Legacy experimental dependency test',
'legacy_experimental_theme_test',
'legacy_experimental_theme_dependency_test',
],
];
}