Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

AliasPrefixListInterface.php

Namespace

Drupal\path_alias

File

core/modules/path_alias/src/AliasPrefixListInterface.php

View source
<?php

namespace Drupal\path_alias;

use Drupal\Core\Cache\CacheCollectorInterface;

/**
 * Cache a list of valid alias prefixes.
 *
 * The list 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 prefix list.
 * This optimization allows skipping the lookup for every /user/{user} path if
 * "user" is not in the list.
 */
interface AliasPrefixListInterface extends CacheCollectorInterface {

}

Interfaces

Title Deprecated Summary
AliasPrefixListInterface Cache a list of valid alias prefixes.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal