You are here

protected function InstallerExistingConfigProfileHookInstall::getConfigTarball in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstall.php \Drupal\FunctionalTests\Installer\InstallerExistingConfigProfileHookInstall::getConfigTarball()

Gets the filepath to the configuration tarball.

The tarball will be extracted to the install profile's config/sync directory for testing.

Return value

string The filepath to the configuration tarball.

Overrides InstallerExistingConfigTestBase::getConfigTarball

File

core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstall.php, line 47

Class

InstallerExistingConfigProfileHookInstall
Verifies that profiles with hook_install() can't be installed from config.

Namespace

Drupal\FunctionalTests\Installer

Code

protected function getConfigTarball() {

  // 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.tar.gz';
}