public function DrupalGetProfileLegacyTest::providerDrupalGetProfileInstallState in Drupal 8
Data provider for testDrupalGetProfileInstallState().
Return value
array Test data.
See also
testDrupalGetProfileInstallState
File
- core/
tests/ Drupal/ Tests/ Core/ Bootstrap/ DrupalGetProfileLegacyTest.php, line 62
Class
Namespace
Drupal\Tests\Core\BootstrapCode
public function providerDrupalGetProfileInstallState() {
$tests = [];
$tests['install_state_with_profile'] = [
'test_profile',
[
'parameters' => [
'profile' => 'test_profile',
],
],
];
$tests['install_state_with_no_profile_overriding_container_profile'] = [
NULL,
[
'parameters' => [],
],
'test_profile',
];
$tests['no_install_state_with_container_profile'] = [
'container_profile',
NULL,
'container_profile',
];
return $tests;
}