You are here

public function LinkUriTest::testRoutedLegacy in Drupal 8

Tests legacy handling for LinkUri::transform().

@dataProvider providerTestRouted @covers ::transform @expectedDeprecation Passing an array as source value into the link_uri migrate process plugin is deprecated in drupal:8.8.0. The possibility to pass an array as source value to the plugin will be removed in drupal:9.0.0. Pass a string value instead. See https://www.drupal.org/node/3043694 @group legacy

File

core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php, line 65

Class

LinkUriTest
Tests \Drupal\menu_link_content\Plugin\migrate\process\LinkUri.

Namespace

Drupal\Tests\menu_link_content\Kernel\Plugin\migrate\process

Code

public function testRoutedLegacy($value, $expected) {
  $this
    ->testRouted([
    $value,
  ], $expected);
}