function InstallerExistingConfigNoConfigTest::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/InstallerExistingConfigNoConfigTest.php, line 34

Class

InstallerExistingConfigNoConfigTest
Verifies that profiles invalid config can not be installed.

Namespace

Drupal\FunctionalTests\Installer

Code

protected function getConfigLocation() : string {
  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.