function MigrateLookupTest::providerExceptionOnMigrationNotFound
Same name in other branches
- 9 core/modules/migrate/tests/src/Unit/MigrateLookupTest.php \Drupal\Tests\migrate\Unit\MigrateLookupTest::providerExceptionOnMigrationNotFound()
- 11.x core/modules/migrate/tests/src/Unit/MigrateLookupTest.php \Drupal\Tests\migrate\Unit\MigrateLookupTest::providerExceptionOnMigrationNotFound()
Provides data for testExceptionOnMigrationNotFound.
File
-
core/
modules/ migrate/ tests/ src/ Unit/ MigrateLookupTest.php, line 69
Class
- MigrateLookupTest
- Provides unit testing for the migration lookup service.
Namespace
Drupal\Tests\migrate\UnitCode
public static function providerExceptionOnMigrationNotFound() {
return [
'string' => [
'bad_plugin',
"Plugin ID 'bad_plugin' was not found.",
],
'array one item' => [
[
'bad_plugin',
],
"Plugin ID 'bad_plugin' was not found.",
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.