Update to Drupal 8.0.0 beta 14. For more information, see https://drupal.org/node/2544542
This commit is contained in:
parent
3b2511d96d
commit
81ccda77eb
2155 changed files with 54307 additions and 46870 deletions
|
@ -12,6 +12,9 @@ use Drupal\Core\CacheDecorator\CacheDecoratorInterface;
|
|||
use Drupal\Core\Language\LanguageInterface;
|
||||
use Drupal\Core\Language\LanguageManagerInterface;
|
||||
|
||||
/**
|
||||
* The default alias manager implementation.
|
||||
*/
|
||||
class AliasManager implements AliasManagerInterface, CacheDecoratorInterface {
|
||||
|
||||
/**
|
||||
|
|
|
@ -7,6 +7,11 @@
|
|||
|
||||
namespace Drupal\Core\Path;
|
||||
|
||||
/**
|
||||
* Find an alias for a path and vice versa.
|
||||
*
|
||||
* @see \Drupal\Core\Path\AliasStorageInterface
|
||||
*/
|
||||
interface AliasManagerInterface {
|
||||
|
||||
/**
|
||||
|
|
|
@ -9,4 +9,12 @@ 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 {}
|
||||
|
|
Reference in a new issue