migrate.services.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132
  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.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']