function ConcatTest::testConcatWithoutDelimiter
Tests concat works without a delimiter.
File
-
core/
modules/ migrate/ tests/ src/ Unit/ process/ ConcatTest.php, line 31
Class
- ConcatTest
- Tests the concat process plugin.
Namespace
Drupal\Tests\migrate\Unit\processCode
public function testConcatWithoutDelimiter() {
$value = $this->plugin
->transform([
'foo',
'bar',
], $this->migrateExecutable, $this->row, 'destination_property');
$this->assertSame('foobar', $value);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.