function ConcatTest::testConcatWithNonArray
Tests concat fails properly on non-arrays.
File
- 
              core/
modules/ migrate/ tests/ src/ Unit/ process/ ConcatTest.php, line 36  
Class
- ConcatTest
 - Tests the concat process plugin.
 
Namespace
Drupal\Tests\migrate\Unit\processCode
public function testConcatWithNonArray() : void {
  $this->expectException(MigrateException::class);
  $this->plugin
    ->transform('foo', $this->migrateExecutable, $this->row, 'destination_property');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.