You are here

protected function FileUriTest::doTransform in Drupal 9

Same name and namespace in other branches
  1. 8 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\d6

Code

protected function doTransform(array $value) {
  $executable = new MigrateExecutable($this
    ->getMigration());
  $row = new Row();
  return (new FileUri([], 'file_uri', []))
    ->transform($value, $executable, $row, 'foobaz');
}