function Migration::create
Same name in other branches
- 9 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::create()
- 8.9.x core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::create()
- 11.x core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::create()
Overrides ContainerFactoryPluginInterface::create
2 calls to Migration::create()
- FilterFormatPermissionTest::testConfigurableFilterFormat in core/
modules/ filter/ tests/ src/ Kernel/ Migrate/ d6/ FilterFormatPermissionTest.php - Tests configurability of filter_format migration name.
- MigrationPluginManager::createStubMigration in core/
modules/ migrate/ src/ Plugin/ MigrationPluginManager.php
1 method overrides Migration::create()
- FieldMigration::create in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ FieldMigration.php - Creates an instance of the plugin.
File
-
core/
modules/ migrate/ src/ Plugin/ Migration.php, line 352
Class
- Migration
- Defines the Migration plugin.
Namespace
Drupal\migrate\PluginCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container->get('plugin.manager.migration'), $container->get('plugin.manager.migrate.source'), $container->get('plugin.manager.migrate.process'), $container->get('plugin.manager.migrate.destination'), $container->get('plugin.manager.migrate.id_map'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.