services:

  geocoder_field.plugin.manager.field:
    class: Drupal\geocoder_field\GeocoderFieldPluginManager
    parent: default_plugin_manager
    arguments: ['@plugin.manager.geocoder.preprocessor', '@entity_field.manager']

  plugin.manager.geocoder.preprocessor:
    class: Drupal\geocoder_field\PreprocessorPluginManager
    parent: default_plugin_manager
    arguments: ['@country_manager']
