class PathAliasSubscriber in Drupal 8
Same name and namespace in other branches
- 9 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
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\EventSubscriberView source
class PathAliasSubscriber extends PathSubscriber {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PathSubscriber:: |
protected | property | The alias manager that caches alias lookups based on the request. | |
PathSubscriber:: |
protected | property | The current path. | |
PathSubscriber:: |
public static | function | Registers the methods in this class that should be listeners. | |
PathSubscriber:: |
public | function | Sets the cache key on the alias manager cache decorator. | |
PathSubscriber:: |
public | function | Ensures system paths for the request get cached. | |
PathSubscriber:: |
public | function | Constructs a new PathSubscriber instance. |