AliasWhitelistInterface.php 471 B

123456789101112131415
  1. <?php
  2. namespace Drupal\Core\Path;
  3. use Drupal\Core\Cache\CacheCollectorInterface;
  4. /**
  5. * Cache the alias whitelist.
  6. *
  7. * The whitelist contains the first element of the router paths of all
  8. * aliases. For example, if /node/12345 has an alias then "node" is added to
  9. * the whitelist. This optimization allows skipping the lookup for every
  10. * /user/{user} path if "user" is not in the whitelist.
  11. */
  12. interface AliasWhitelistInterface extends CacheCollectorInterface {}