function SubProcessTest::providerTestNotFoundSubProcess
Same name in other branches
- 9 core/modules/migrate/tests/src/Unit/process/SubProcessTest.php \Drupal\Tests\migrate\Unit\process\SubProcessTest::providerTestNotFoundSubProcess()
- 8.9.x core/modules/migrate/tests/src/Unit/process/SubProcessTest.php \Drupal\Tests\migrate\Unit\process\SubProcessTest::providerTestNotFoundSubProcess()
- 10 core/modules/migrate/tests/src/Unit/process/SubProcessTest.php \Drupal\Tests\migrate\Unit\process\SubProcessTest::providerTestNotFoundSubProcess()
Data provider for testNotFoundSubProcess().
File
-
core/
modules/ migrate/ tests/ src/ Unit/ process/ SubProcessTest.php, line 176
Class
- SubProcessTest
- Tests the sub_process process plugin.
Namespace
Drupal\Tests\migrate\Unit\processCode
public static function providerTestNotFoundSubProcess() {
return [
'no key' => [
'process_configuration' => [
'process' => [
'foo' => 'source_foo',
],
'key' => '@id',
],
],
'lookup returns NULL' => [
'process_configuration' => [
'process' => [
'foo' => 'source_foo',
'id' => 'source_id',
],
'key' => '@id',
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.