function MigrationPluginManagerTest::providerCreateInstanceByTag
Same name in other branches
- 10 core/modules/migrate/tests/src/Kernel/MigrationPluginManagerTest.php \Drupal\Tests\migrate\Kernel\MigrationPluginManagerTest::providerCreateInstanceByTag()
- 11.x core/modules/migrate/tests/src/Kernel/MigrationPluginManagerTest.php \Drupal\Tests\migrate\Kernel\MigrationPluginManagerTest::providerCreateInstanceByTag()
Data provider for testCreateInstancesByTag.
File
-
core/
modules/ migrate/ tests/ src/ Kernel/ MigrationPluginManagerTest.php, line 55
Class
- MigrationPluginManagerTest
- Tests the migration plugin manager.
Namespace
Drupal\Tests\migrate\KernelCode
public function providerCreateInstanceByTag() {
return [
'get test' => [
'test',
[
'tag_test_0',
'tag_test_1',
],
],
'get tag_test_1' => [
'tag_test_1',
[
'tag_test_1',
],
],
'get no tags' => [
'',
[],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.