function InstallerExistingConfigSyncDirectoryProfileHookInstallTest::getConfigLocation
Same name and namespace in other branches
- 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php \Drupal\FunctionalTests\Installer\InstallerExistingConfigSyncDirectoryProfileHookInstallTest::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/ InstallerExistingConfigSyncDirectoryProfileHookInstallTest.php, line 80
Class
- InstallerExistingConfigSyncDirectoryProfileHookInstallTest
- Verifies that profiles with hook_install() can't be installed from config.
Namespace
Drupal\FunctionalTests\InstallerCode
protected function getConfigLocation() : string {
return __DIR__ . '/../../../fixtures/config_install/multilingual';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.