path_alias.services.yml
Same filename in other branches
File
-
core/
modules/ path_alias/ path_alias.services.yml
View source
- services:
- _defaults:
- autoconfigure: true
- path_alias.subscriber:
- class: Drupal\path_alias\EventSubscriber\PathAliasSubscriber
- arguments: ['@path_alias.manager', '@path.current']
- path_alias.path_processor:
- class: Drupal\path_alias\PathProcessor\AliasPathProcessor
- tags:
- - { name: path_processor_inbound, priority: 100 }
- - { name: path_processor_outbound, priority: 300 }
- arguments: ['@path_alias.manager']
- path_alias.manager:
- class: Drupal\path_alias\AliasManager
- arguments: ['@path_alias.repository', '@path_alias.prefix_list', '@language_manager', '@cache.data', '@datetime.time']
- Drupal\path_alias\AliasManagerInterface: '@path_alias.manager'
- path_alias.repository:
- class: Drupal\path_alias\AliasRepository
- arguments: ['@database']
- tags:
- - { name: backend_overridable }
- Drupal\path_alias\AliasRepositoryInterface: '@path_alias.repository'
- path_alias.whitelist:
- class: Drupal\path_alias\AliasWhitelist
- tags:
- - { name: needs_destruction }
- arguments: [path_alias_whitelist, '@cache.bootstrap', '@lock', '@state', '@path_alias.repository']
- 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
- Drupal\path_alias\AliasWhitelistInterface: '@path_alias.whitelist'
- path_alias.prefix_list:
- class: Drupal\path_alias\AliasPrefixList
- tags:
- - { name: needs_destruction }
- arguments: [path_alias_prefix_list, '@cache.bootstrap', '@lock', '@state', '@path_alias.repository']
- 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.