interface AliasWhitelistInterface in Drupal 8
Same name in this branch
- 8 core/modules/path_alias/src/AliasWhitelistInterface.php \Drupal\path_alias\AliasWhitelistInterface
- 8 core/lib/Drupal/Core/Path/AliasWhitelistInterface.php \Drupal\Core\Path\AliasWhitelistInterface
Same name and namespace in other branches
- 9 core/modules/path_alias/src/AliasWhitelistInterface.php \Drupal\path_alias\AliasWhitelistInterface
Cache the alias whitelist.
The whitelist contains the first element of the router paths of all aliases. For example, if /node/12345 has an alias then "node" is added to the whitelist. This optimization allows skipping the lookup for every /user/{user} path if "user" is not in the whitelist.
Hierarchy
- interface \Drupal\Core\Cache\CacheCollectorInterface
- interface \Drupal\Core\Path\AliasWhitelistInterface
- interface \Drupal\path_alias\AliasWhitelistInterface
- interface \Drupal\Core\Path\AliasWhitelistInterface
Expanded class hierarchy of AliasWhitelistInterface
All classes that implement AliasWhitelistInterface
1 file declares its use of AliasWhitelistInterface
- DeprecatedClassesTest.php in core/
modules/ path_alias/ tests/ src/ Unit/ DeprecatedClassesTest.php
File
- core/
modules/ path_alias/ src/ AliasWhitelistInterface.php, line 15
Namespace
Drupal\path_aliasView source
interface AliasWhitelistInterface extends CoreAliasWhitelistInterface {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheCollectorInterface:: |
public | function | Clears the collected cache entry. | |
CacheCollectorInterface:: |
public | function | Deletes the element. | |
CacheCollectorInterface:: |
public | function | Gets value from the cache. | |
CacheCollectorInterface:: |
public | function | Returns whether data exists for this key. | |
CacheCollectorInterface:: |
public | function | Resets the local cache. | |
CacheCollectorInterface:: |
public | function | Sets cache data. |