services:
  field_tools.references.info:
    class: Drupal\field_tools\FieldToolsReferencesInfo
    arguments: ['@entity_type.manager', '@entity_field.manager']
  field_tools.field_cloner:
    class: Drupal\field_tools\FieldCloner
    arguments: ['@entity_type.manager', '@module_handler']
  field_tools.display_cloner:
    class: Drupal\field_tools\DisplayCloner
    arguments: ['@entity_type.manager', '@entity_field.manager', '@module_handler']
  field_tools.display_settings_copier:
    class: Drupal\field_tools\DisplaySettingsCopier
    arguments: ['@entity_type.manager', '@module_handler']
  field_tools.subscriber:
    class: Drupal\field_tools\Routing\RouteSubscriber
    arguments: ['@entity_type.manager']
    tags:
     - { name: event_subscriber }
