function FilePathTest::getSourcePath
Gets the source base path for the Credential form.
Parameters
string $scheme: The file scheme.
2 calls to FilePathTest::getSourcePath()
- FilePathTest::makeFiles in core/modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ FilePathTest.php 
- Creates files for the test.
- FilePathTest::testFilePath in core/modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ FilePathTest.php 
- Executes all steps of migrations upgrade.
File
- 
              core/modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ FilePathTest.php, line 256 
Class
- FilePathTest
- Tests the Drupal 7 public and private file migrations.
Namespace
Drupal\Tests\migrate_drupal_ui\Functional\d7Code
public function getSourcePath($scheme) {
  $base_path = $this->localDirectory[$scheme] ?: '';
  // Puts the source files in the site temp directory.
  return $this->tempFilesDirectory . '/' . $base_path;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
