function FileUriTest::doTransform
Same name in other branches
- 8.9.x core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php \Drupal\Tests\file\Unit\Plugin\migrate\process\d6\FileUriTest::doTransform()
- 10 core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php \Drupal\Tests\file\Unit\Plugin\migrate\process\d6\FileUriTest::doTransform()
- 11.x core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php \Drupal\Tests\file\Unit\Plugin\migrate\process\d6\FileUriTest::doTransform()
5 calls to FileUriTest::doTransform()
- FileUriTest::testPrivate in core/
modules/ file/ tests/ src/ Unit/ Plugin/ migrate/ process/ d6/ FileUriTest.php - FileUriTest::testPrivateUnknownBasePath in core/
modules/ file/ tests/ src/ Unit/ Plugin/ migrate/ process/ d6/ FileUriTest.php - FileUriTest::testPublic in core/
modules/ file/ tests/ src/ Unit/ Plugin/ migrate/ process/ d6/ FileUriTest.php - FileUriTest::testPublicUnknownBasePath in core/
modules/ file/ tests/ src/ Unit/ Plugin/ migrate/ process/ d6/ FileUriTest.php - FileUriTest::testTemporary in core/
modules/ file/ tests/ src/ Unit/ Plugin/ migrate/ process/ d6/ FileUriTest.php
File
-
core/
modules/ file/ tests/ src/ Unit/ Plugin/ migrate/ process/ d6/ FileUriTest.php, line 70
Class
- FileUriTest
- @coversDefaultClass \Drupal\file\Plugin\migrate\process\d6\FileUri @group file
Namespace
Drupal\Tests\file\Unit\Plugin\migrate\process\d6Code
protected function doTransform(array $value) {
$executable = new MigrateExecutable($this->getMigration());
$row = new Row();
return (new FileUri([], 'file_uri', []))->transform($value, $executable, $row, 'foo');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.