services:
  plugin.manager.metatag.tag:
    class: Drupal\metatag\MetatagTagPluginManager
    parent: default_plugin_manager

  plugin.manager.metatag.group:
    class: Drupal\metatag\MetatagGroupPluginManager
    parent: default_plugin_manager

  metatag.token:
    class: Drupal\metatag\MetatagToken
    arguments:
      - '@token'
      - '@token.entity_mapper'

  metatag.manager:
    class: Drupal\metatag\MetatagManager
    arguments:
      - '@plugin.manager.metatag.group'
      - '@plugin.manager.metatag.tag'
      - '@metatag.token'
      - '@logger.factory'
      - '@entity_type.manager'
      - '@path.matcher'
      - '@current_route_match'
      - '@request_stack'
      - '@language_manager'
      - '@config.factory'

  metatag.trimmer:
    class: Drupal\metatag\MetatagTrimmer
