interface AliasWhitelistInterface
Same name in other branches
- 8.9.x core/modules/path_alias/src/AliasWhitelistInterface.php \Drupal\path_alias\AliasWhitelistInterface
- 8.9.x core/lib/Drupal/Core/Path/AliasWhitelistInterface.php \Drupal\Core\Path\AliasWhitelistInterface
- 10 core/modules/path_alias/src/AliasWhitelistInterface.php \Drupal\path_alias\AliasWhitelistInterface
- 11.x 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\path_alias\AliasWhitelistInterface extends \Drupal\Core\Cache\CacheCollectorInterface
Expanded class hierarchy of AliasWhitelistInterface
All classes that implement AliasWhitelistInterface
File
-
core/
modules/ path_alias/ src/ AliasWhitelistInterface.php, line 15
Namespace
Drupal\path_aliasView source
interface AliasWhitelistInterface extends CacheCollectorInterface {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.