AliasWhitelistInterface.php

Same filename in this branch
  1. 8.9.x core/lib/Drupal/Core/Path/AliasWhitelistInterface.php
Same filename and directory in other branches
  1. 9 core/modules/path_alias/src/AliasWhitelistInterface.php
  2. 10 core/modules/path_alias/src/AliasWhitelistInterface.php
  3. 11.x core/modules/path_alias/src/AliasWhitelistInterface.php

Namespace

Drupal\path_alias

File

core/modules/path_alias/src/AliasWhitelistInterface.php

View source
<?php

namespace Drupal\path_alias;

use Drupal\Core\Path\AliasWhitelistInterface as CoreAliasWhitelistInterface;

/**
 * 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.
 */
interface AliasWhitelistInterface extends CoreAliasWhitelistInterface {

}

Interfaces

Title Deprecated Summary
AliasWhitelistInterface Cache the alias whitelist.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.