function InstallerExistingConfigProfileHookInstallTest::getConfigLocation
Same name and namespace in other branches
- 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstallTest.php \Drupal\FunctionalTests\Installer\InstallerExistingConfigProfileHookInstallTest::getConfigLocation()
Gets the path to the configuration directory.
The directory will be copied to the install profile's config/sync directory for testing.
Return value
string The path to the configuration directory.
Overrides InstallerConfigDirectoryTestBase::getConfigLocation
File
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingConfigProfileHookInstallTest.php, line 64
Class
- InstallerExistingConfigProfileHookInstallTest
- Verifies that profiles with hook_install() can't be installed from config.
Namespace
Drupal\FunctionalTests\InstallerCode
protected function getConfigLocation() : string {
// We're not going to get to the config import stage so this does not
// matter.
return __DIR__ . '/../../../fixtures/config_install/testing_config_install_no_config';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.