path_alias.services.yml

Same filename in other branches
  1. 9 core/modules/path_alias/path_alias.services.yml
  2. 8.9.x core/modules/path_alias/path_alias.services.yml
  3. 10 core/modules/path_alias/path_alias.services.yml
core/modules/path_alias/path_alias.services.yml

File

core/modules/path_alias/path_alias.services.yml

View source
  1. services:
  2. _defaults:
  3. autoconfigure: true
  4. path_alias.subscriber:
  5. class: Drupal\path_alias\EventSubscriber\PathAliasSubscriber
  6. arguments: ['@path_alias.manager', '@path.current']
  7. path_alias.path_processor:
  8. class: Drupal\path_alias\PathProcessor\AliasPathProcessor
  9. tags:
  10. - { name: path_processor_inbound, priority: 100 }
  11. - { name: path_processor_outbound, priority: 300 }
  12. arguments: ['@path_alias.manager']
  13. path_alias.manager:
  14. class: Drupal\path_alias\AliasManager
  15. arguments: ['@path_alias.repository', '@path_alias.prefix_list', '@language_manager', '@cache.data', '@datetime.time']
  16. Drupal\path_alias\AliasManagerInterface: '@path_alias.manager'
  17. path_alias.repository:
  18. class: Drupal\path_alias\AliasRepository
  19. arguments: ['@database']
  20. tags:
  21. - { name: backend_overridable }
  22. Drupal\path_alias\AliasRepositoryInterface: '@path_alias.repository'
  23. path_alias.whitelist:
  24. class: Drupal\path_alias\AliasWhitelist
  25. tags:
  26. - { name: needs_destruction }
  27. arguments: [path_alias_whitelist, '@cache.bootstrap', '@lock', '@state', '@path_alias.repository']
  28. deprecated: The "%service_id%" service is deprecated in drupal:11.1.0 and is removed from drupal:12.0.0. Use the 'router.prefix_list' service instead. See https://www.drupal.org/node/3467559
  29. Drupal\path_alias\AliasWhitelistInterface: '@path_alias.whitelist'
  30. path_alias.prefix_list:
  31. class: Drupal\path_alias\AliasPrefixList
  32. tags:
  33. - { name: needs_destruction }
  34. arguments: [path_alias_prefix_list, '@cache.bootstrap', '@lock', '@state', '@path_alias.repository']
  35. Drupal\path_alias\AliasPrefixListInterface: '@path_alias.prefix_list'

Services

Title Deprecated Summary
Drupal\path_alias\AliasManagerInterface
Drupal\path_alias\AliasPrefixListInterface
Drupal\path_alias\AliasRepositoryInterface
Drupal\path_alias\AliasWhitelistInterface
path_alias.manager Drupal\path_alias\AliasManager
path_alias.path_processor Drupal\path_alias\PathProcessor\AliasPathProcessor
path_alias.prefix_list Drupal\path_alias\AliasPrefixList
path_alias.repository Drupal\path_alias\AliasRepository
path_alias.subscriber Drupal\path_alias\EventSubscriber\PathAliasSubscriber
path_alias.whitelist Drupal\path_alias\AliasWhitelist
_defaults

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.