AliasManager::__construct

public AliasManager::__construct(AliasStorageInterface $storage, AliasWhitelistInterface $whitelist, LanguageManagerInterface $language_manager, CacheBackendInterface $cache)

Constructs an AliasManager.

Parameters

\Drupal\Core\Path\AliasStorageInterface $storage: The alias storage service.

\Drupal\Core\Path\AliasWhitelistInterface $whitelist: The whitelist implementation to use.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

\Drupal\Core\Cache\CacheBackendInterface $cache: Cache backend.

File

core/lib/Drupal/Core/Path/AliasManager.php, line 107

Class

AliasManager
The default alias manager implementation.

Namespace

Drupal\Core\Path

Code

public function __construct(AliasStorageInterface $storage, AliasWhitelistInterface $whitelist, LanguageManagerInterface $language_manager, CacheBackendInterface $cache) {
  $this->storage = $storage;
  $this->languageManager = $language_manager;
  $this->whitelist = $whitelist;
  $this->cache = $cache;
}
doc_Drupal
2016-10-29 08:44:11
Comments
Leave a Comment

Please login to continue.