function ArrayBuildTest::setUp
Overrides MigrateProcessTestCase::setUp
File
-
core/
modules/ migrate/ tests/ src/ Unit/ process/ ArrayBuildTest.php, line 19
Class
- ArrayBuildTest
- @coversDefaultClass \Drupal\migrate\Plugin\migrate\process\ArrayBuild[[api-linebreak]] @group migrate
Namespace
Drupal\Tests\migrate\Unit\processCode
protected function setUp() : void {
$configuration = [
'key' => 'foo',
'value' => 'bar',
];
$this->plugin = new ArrayBuild($configuration, 'map', []);
parent::setUp();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.