function LinkFieldTest::testDefineValueProcessPipeline
Same name in other branches
- 9 core/modules/link/tests/src/Unit/Plugin/migrate/field/d6/LinkFieldTest.php \Drupal\Tests\link\Unit\Plugin\migrate\field\d6\LinkFieldTest::testDefineValueProcessPipeline()
- 8.9.x core/modules/link/tests/src/Unit/Plugin/migrate/field/d6/LinkFieldTest.php \Drupal\Tests\link\Unit\Plugin\migrate\field\d6\LinkFieldTest::testDefineValueProcessPipeline()
- 10 core/modules/link/tests/src/Unit/Plugin/migrate/field/d6/LinkFieldTest.php \Drupal\Tests\link\Unit\Plugin\migrate\field\d6\LinkFieldTest::testDefineValueProcessPipeline()
@covers ::defineValueProcessPipeline
File
-
core/
modules/ link/ tests/ src/ Unit/ Plugin/ migrate/ field/ d6/ LinkFieldTest.php, line 53
Class
- LinkFieldTest
- @coversDefaultClass \Drupal\link\Plugin\migrate\field\d6\LinkField @group link
Namespace
Drupal\Tests\link\Unit\Plugin\migrate\field\d6Code
public function testDefineValueProcessPipeline($method = 'defineValueProcessPipeline') : void {
$this->plugin
->{$method}($this->migration, 'field_name', []);
$expected = [
'plugin' => 'field_link',
'source' => 'field_name',
];
$this->assertSame($expected, $this->migration
->getProcess());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.