You are here

protected function InstallerExistingConfigProfileHookInstall::getConfigTarball in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstall.php \Drupal\FunctionalTests\Installer\InstallerExistingConfigProfileHookInstall::getConfigTarball()
  2. 9 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 56

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';
}