class PathAliasSubscriber

Same name in other branches
  1. 9 core/modules/path_alias/src/EventSubscriber/PathAliasSubscriber.php \Drupal\path_alias\EventSubscriber\PathAliasSubscriber
  2. 10 core/modules/path_alias/src/EventSubscriber/PathAliasSubscriber.php \Drupal\path_alias\EventSubscriber\PathAliasSubscriber
  3. 11.x core/modules/path_alias/src/EventSubscriber/PathAliasSubscriber.php \Drupal\path_alias\EventSubscriber\PathAliasSubscriber

Provides a path subscriber that converts path aliases.

Hierarchy

  • class \Drupal\Core\EventSubscriber\PathSubscriber implements \Symfony\Component\EventDispatcher\EventSubscriberInterface
    • class \Drupal\path_alias\EventSubscriber\PathAliasSubscriber extends \Drupal\Core\EventSubscriber\PathSubscriber

Expanded class hierarchy of PathAliasSubscriber

1 file declares its use of PathAliasSubscriber
DeprecatedClassesTest.php in core/modules/path_alias/tests/src/Unit/DeprecatedClassesTest.php
1 string reference to 'PathAliasSubscriber'
path_alias.services.yml in core/modules/path_alias/path_alias.services.yml
core/modules/path_alias/path_alias.services.yml
1 service uses PathAliasSubscriber
path_alias.subscriber in core/modules/path_alias/path_alias.services.yml
Drupal\path_alias\EventSubscriber\PathAliasSubscriber

File

core/modules/path_alias/src/EventSubscriber/PathAliasSubscriber.php, line 10

Namespace

Drupal\path_alias\EventSubscriber
View source
class PathAliasSubscriber extends PathSubscriber {

}

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