class OverriddenAliasManager
Overridden test implementation for the alias manager.
Hierarchy
- class \Drupal\Core\Path\AliasManager implements \Drupal\Core\Path\AliasManagerInterface, \Drupal\Core\CacheDecorator\CacheDecoratorInterface uses \Drupal\Core\DependencyInjection\DeprecatedServicePropertyTrait
- class \Drupal\path_alias_deprecated_test\OverriddenAliasManager extends \Drupal\Core\Path\AliasManager
Expanded class hierarchy of OverriddenAliasManager
1 file declares its use of OverriddenAliasManager
- DeprecatedServicesTest.php in core/
modules/ path_alias/ tests/ src/ Kernel/ DeprecatedServicesTest.php
File
-
core/
modules/ path_alias/ tests/ modules/ path_alias_deprecated_test/ src/ OverriddenAliasManager.php, line 10
Namespace
Drupal\path_alias_deprecated_testView source
class OverriddenAliasManager extends AliasManager {
}
Members
| Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
|---|---|---|---|---|
| AliasManager::$cache | protected | property | Cache backend service. | |
| AliasManager::$cacheKey | protected | property | The cache key to use when caching paths. | |
| AliasManager::$cacheNeedsWriting | protected | property | Whether the cache needs to be written. | |
| AliasManager::$deprecatedProperties | protected | property | ||
| AliasManager::$langcodePreloaded | protected | property | Whether preloaded path lookups has already been loaded. | |
| AliasManager::$languageManager | protected | property | Language manager for retrieving the default langcode when none is specified. | |
| AliasManager::$lookupMap | protected | property | Holds the map of path lookups per language. | |
| AliasManager::$noAlias | protected | property | Holds an array of paths that have no alias. | |
| AliasManager::$noPath | protected | property | Holds an array of aliases for which no path was found. | |
| AliasManager::$pathAliasRepository | protected | property | The path alias repository. | |
| AliasManager::$preloadedPathLookups | protected | property | Holds an array of previously looked up paths for the current request path. | |
| AliasManager::$whitelist | protected | property | Holds the array of whitelisted path aliases. | |
| AliasManager::cacheClear | public | function | Clear internal caches in alias manager. | Overrides AliasManagerInterface::cacheClear |
| AliasManager::getAliasByPath | public | function | Given a path, return the alias. | Overrides AliasManagerInterface::getAliasByPath |
| AliasManager::getPathByAlias | public | function | Given the alias, return the path it represents. | Overrides AliasManagerInterface::getPathByAlias |
| AliasManager::getRequestTime | protected | function | Wrapper method for REQUEST_TIME constant. | |
| AliasManager::pathAliasWhitelistRebuild | protected | function | Rebuild the path alias white list. | |
| AliasManager::setCacheKey | public | function | Specify the key to use when writing the cache. | Overrides CacheDecoratorInterface::setCacheKey |
| AliasManager::writeCache | public | function | Cache an array of the paths available on each page. We assume that aliases will be needed for the majority of these paths during subsequent requests, and load them in a single query during path alias lookup. |
Overrides CacheDecoratorInterface::writeCache |
| AliasManager::__construct | public | function | Constructs an AliasManager. | |
| DeprecatedServicePropertyTrait::__get | public | function | Allows to access deprecated/removed properties. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.