You are here

interface AliasWhitelistInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Path/AliasWhitelistInterface.php \Drupal\Core\Path\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

Expanded class hierarchy of AliasWhitelistInterface

All classes that implement AliasWhitelistInterface

File

core/lib/Drupal/Core/Path/AliasWhitelistInterface.php, line 20
Contains \Drupal\Core\Path\AliasWhitelistInterface.

Namespace

Drupal\Core\Path
View source
interface AliasWhitelistInterface extends CacheCollectorInterface {

}

Members

Namesort descending Modifiers Type Description Overrides
CacheCollectorInterface::clear public function Clears the collected cache entry. 1
CacheCollectorInterface::delete public function Deletes the element. 1
CacheCollectorInterface::get public function Gets value from the cache. 1
CacheCollectorInterface::has public function Returns whether data exists for this key. 1
CacheCollectorInterface::reset public function Resets the local cache. 1
CacheCollectorInterface::set public function Sets cache data. 1