You are here

protected function FileUriTest::doTransform in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 76
Contains \Drupal\Tests\file\Unit\Plugin\migrate\process\d6\FileUriTest.

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(), new MigrateMessage());
  $row = new Row([], []);
  return (new FileUri([], 'file_uri', []))
    ->transform($value, $executable, $row, 'foobaz');
}