migrate.services.yml 1.39 KB
Newer Older
1 2 3 4 5
services:
  cache.migrate:
    class: Drupal\Core\Cache\CacheBackendInterface
    tags:
      - { name: cache.bin }
6
    factory: cache_factory:get
7
    arguments: [migrate]
8 9 10 11 12 13
  migrate.template_storage:
    class: Drupal\migrate\MigrateTemplateStorage
    arguments: ['@module_handler']
  migrate.migration_builder:
    class: Drupal\migrate\MigrationBuilder
    arguments: ['@plugin.manager.migrate.builder']
14 15
  plugin.manager.migrate.source:
    class: Drupal\migrate\Plugin\MigratePluginManager
16
    arguments: [source, '@container.namespaces', '@cache.discovery', '@module_handler', 'Drupal\migrate\Annotation\MigrateSource']
17 18
  plugin.manager.migrate.process:
    class: Drupal\migrate\Plugin\MigratePluginManager
19
    arguments: [process, '@container.namespaces', '@cache.discovery', '@module_handler', 'Drupal\migrate\Annotation\MigrateProcessPlugin']
20
  plugin.manager.migrate.destination:
21
    class: Drupal\migrate\Plugin\MigrateDestinationPluginManager
22
    arguments: [destination, '@container.namespaces', '@cache.discovery', '@module_handler', '@entity.manager']
23 24
  plugin.manager.migrate.id_map:
    class: Drupal\migrate\Plugin\MigratePluginManager
25
    arguments: [id_map, '@container.namespaces', '@cache.discovery', '@module_handler']
26 27 28
  plugin.manager.migrate.builder:
    class: Drupal\migrate\Plugin\MigratePluginManager
    arguments: [builder, '@container.namespaces', '@cache.discovery', '@module_handler']