function MigrationTest::getProcessPluginsExceptionMessageProvider
Same name in other branches
- 9 core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php \Drupal\Tests\migrate\Kernel\Plugin\MigrationTest::getProcessPluginsExceptionMessageProvider()
- 8.9.x core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php \Drupal\Tests\migrate\Kernel\Plugin\MigrationTest::getProcessPluginsExceptionMessageProvider()
- 11.x core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php \Drupal\Tests\migrate\Kernel\Plugin\MigrationTest::getProcessPluginsExceptionMessageProvider()
Provides data for testing invalid process pipeline.
File
-
core/
modules/ migrate/ tests/ src/ Kernel/ Plugin/ MigrationTest.php, line 74
Class
- MigrationTest
- Tests the migration plugin.
Namespace
Drupal\Tests\migrate\Kernel\PluginCode
public static function getProcessPluginsExceptionMessageProvider() : \Generator {
(yield 'null' => [
'process' => [
'dest' => NULL,
],
]);
(yield 'boolean' => [
'process' => [
'dest' => TRUE,
],
]);
(yield 'integer' => [
'process' => [
'dest' => 2370,
],
]);
(yield 'float' => [
'process' => [
'dest' => 1.61,
],
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.