migrate.services.yml 1.21 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
services:
  cache.migrate:
    class: Drupal\Core\Cache\CacheBackendInterface
    tags:
      - { name: cache.bin }
    factory_method: get
    factory_service: cache_factory
    arguments: [migrate]
  plugin.manager.migrate.source:
    class: Drupal\migrate\Plugin\MigratePluginManager
    arguments: [source, '@container.namespaces', '@cache.cache', '@language_manager', '@module_handler']
  plugin.manager.migrate.process:
    class: Drupal\migrate\Plugin\MigratePluginManager
14
    arguments: [process, '@container.namespaces', '@cache.cache', '@language_manager', '@module_handler', 'Drupal\migrate\Annotation\MigrateProcessPlugin']
15 16 17 18 19 20 21 22 23
  plugin.manager.migrate.destination:
    class: Drupal\migrate\Plugin\MigratePluginManager
    arguments: [destination, '@container.namespaces', '@cache.cache', '@language_manager', '@module_handler']
  plugin.manager.migrate.id_map:
    class: Drupal\migrate\Plugin\MigratePluginManager
    arguments: [id_map, '@container.namespaces', '@cache.cache', '@language_manager', '@module_handler']
  plugin.manager.migrate.entity_field:
    class: Drupal\migrate\Plugin\MigratePluginManager
    arguments: [entity_field, '@container.namespaces', '@cache.cache', '@language_manager', '@module_handler']