services:
  path_processor_subpathauto:
    class: Drupal\subpathauto\PathProcessor
    arguments: ['@path_alias.path_processor', '@language_manager', '@config.factory', '@module_handler']
    tags:
      - { name: path_processor_inbound, priority: 50 }
      - { name: path_processor_outbound, priority: 50 }
  subpathauto.config_cache_invalidator:
    class: Drupal\subpathauto\EventSubscriber\ConfigCacheInvalidator
    arguments: ['@cache_tags.invalidator']
    tags:
      - { name: event_subscriber }
