function CredentialFormTest::getSourceBasePath

Same name and namespace in other branches
  1. 9 core/modules/migrate_drupal_ui/tests/src/Functional/CredentialFormTest.php \Drupal\Tests\migrate_drupal_ui\Functional\CredentialFormTest::getSourceBasePath()
  2. 11.x core/modules/migrate_drupal_ui/tests/src/Functional/CredentialFormTest.php \Drupal\Tests\migrate_drupal_ui\Functional\CredentialFormTest::getSourceBasePath()

Overrides MigrateUpgradeTestBase::getSourceBasePath

File

core/modules/migrate_drupal_ui/tests/src/Functional/CredentialFormTest.php, line 96

Class

CredentialFormTest
Test the credential form for both Drupal 6 and Drupal 7 sources.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional

Code

protected function getSourceBasePath() {
    $version = $this->getLegacyDrupalVersion($this->sourceDatabase);
    return __DIR__ . '/d' . $version . '/files';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.