You are here

AliasWhitelistInterface.php in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 core/lib/Drupal/Core/Path/AliasWhitelistInterface.php

Namespace

Drupal\Core\Path

File

core/lib/Drupal/Core/Path/AliasWhitelistInterface.php
View source
<?php

/**
 * @file
 * Contains \Drupal\Core\Path\AliasWhitelistInterface.
 */
namespace Drupal\Core\Path;

use Drupal\Core\Cache\CacheCollectorInterface;

/**
 * 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 CacheCollectorInterface {

}

Interfaces

Namesort descending Description
AliasWhitelistInterface Cache the alias whitelist.