path_alias.services.yml

Same filename and directory in other branches
  1. 11.x core/modules/path_alias/path_alias.services.yml
  2. 10 core/modules/path_alias/path_alias.services.yml
  3. 9 core/modules/path_alias/path_alias.services.yml
  4. 8.9.x 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. parameters:
  2. path_alias.skip_procedural_hook_scan: true
  3. services:
  4. _defaults:
  5. autoconfigure: true
  6. path_alias.path_processor:
  7. class: Drupal\path_alias\PathProcessor\AliasPathProcessor
  8. tags:
  9. - { name: path_processor_inbound, priority: 100 }
  10. - { name: path_processor_outbound, priority: 300 }
  11. arguments: ['@path_alias.manager']
  12. path_alias.manager:
  13. class: Drupal\path_alias\AliasManager
  14. arguments: ['@path_alias.repository', '@path_alias.prefix_list', '@language_manager', '@cache.data', '@datetime.time']
  15. Drupal\path_alias\AliasManagerInterface: '@path_alias.manager'
  16. path_alias.repository:
  17. class: Drupal\path_alias\AliasRepository
  18. arguments: ['@database']
  19. tags:
  20. - { name: backend_overridable }
  21. Drupal\path_alias\AliasRepositoryInterface: '@path_alias.repository'
  22. # cspell:ignore whitelist
  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'
  36. Drupal\path_alias\AliasPathMatcher:
  37. public: false
  38. autowire: true
  39. decorates: path.matcher

Services

Title Deprecated Summary
Drupal\path_alias\AliasPathMatcher
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.whitelist Drupal\path_alias\AliasWhitelist
_defaults

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