migrate.services.yml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. services:
  2. migrate.plugin_event_subscriber:
  3. class: Drupal\migrate\Plugin\PluginEventSubscriber
  4. tags:
  5. - { name: event_subscriber }
  6. cache.migrate:
  7. class: Drupal\Core\Cache\CacheBackendInterface
  8. tags:
  9. - { name: cache.bin }
  10. factory: cache_factory:get
  11. arguments: [migrate]
  12. plugin.manager.migrate.source:
  13. class: Drupal\migrate\Plugin\MigrateSourcePluginManager
  14. arguments: [source, '@container.namespaces', '@cache.discovery', '@module_handler']
  15. plugin.manager.migrate.process:
  16. class: Drupal\migrate\Plugin\MigratePluginManager
  17. arguments: [process, '@container.namespaces', '@cache.discovery', '@module_handler', 'Drupal\migrate\Annotation\MigrateProcessPlugin']
  18. plugin.manager.migrate.destination:
  19. class: Drupal\migrate\Plugin\MigrateDestinationPluginManager
  20. arguments: [destination, '@container.namespaces', '@cache.discovery', '@module_handler', '@entity_type.manager']
  21. plugin.manager.migrate.id_map:
  22. class: Drupal\migrate\Plugin\MigratePluginManager
  23. arguments: [id_map, '@container.namespaces', '@cache.discovery', '@module_handler']
  24. cache.discovery_migration:
  25. class: Drupal\Core\Cache\CacheBackendInterface
  26. tags:
  27. - { name: cache.bin }
  28. factory: cache_factory:get
  29. arguments: [discovery_migration]
  30. plugin.manager.migration:
  31. class: Drupal\migrate\Plugin\MigrationPluginManager
  32. arguments: ['@module_handler', '@cache.discovery_migration', '@language_manager']
  33. migrate.lookup:
  34. class: Drupal\migrate\MigrateLookup
  35. arguments: ['@plugin.manager.migration']
  36. migrate.stub:
  37. class: Drupal\migrate\MigrateStub
  38. arguments: ['@plugin.manager.migration']