function ConcatTest::testConcatWithoutDelimiter
Same name in other branches
- 8.9.x core/modules/migrate/tests/src/Unit/process/ConcatTest.php \Drupal\Tests\migrate\Unit\process\ConcatTest::testConcatWithoutDelimiter()
- 10 core/modules/migrate/tests/src/Unit/process/ConcatTest.php \Drupal\Tests\migrate\Unit\process\ConcatTest::testConcatWithoutDelimiter()
- 11.x core/modules/migrate/tests/src/Unit/process/ConcatTest.php \Drupal\Tests\migrate\Unit\process\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.