protected function InstallerExistingConfigTestBase::setUpProfile in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTestBase.php \Drupal\FunctionalTests\Installer\InstallerExistingConfigTestBase::setUpProfile()
Installer step: Select installation profile.
Overrides InstallerTestBase::setUpProfile
1 call to InstallerExistingConfigTestBase::setUpProfile()
- InstallerExistingConfigSyncDirectoryMultilingualTest::setUpProfile in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingConfigSyncDirectoryMultilingualTest.php - Installer step: Select installation profile.
2 methods override InstallerExistingConfigTestBase::setUpProfile()
- InstallerExistingConfigSyncDirectoryMultilingualTest::setUpProfile in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingConfigSyncDirectoryMultilingualTest.php - Installer step: Select installation profile.
- InstallerExistingConfigSyncDirectoryProfileHookInstall::setUpProfile in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingConfigSyncDirectoryProfileHookInstall.php - Installer step: Select installation profile.
File
- core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingConfigTestBase.php, line 120
Class
- InstallerExistingConfigTestBase
- Provides a base class for testing installing from existing configuration.
Namespace
Drupal\FunctionalTests\InstallerCode
protected function setUpProfile() {
if ($this->existingSyncDirectory) {
$edit = [
'profile' => SelectProfileForm::CONFIG_INSTALL_PROFILE_KEY,
];
$this
->drupalPostForm(NULL, $edit, $this->translations['Save and continue']);
}
else {
parent::setUpProfile();
}
}