public function AliasManager::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Path/AliasManager.php \Drupal\Core\Path\AliasManager::__construct()
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 112 - Contains \Drupal\Core\Path\AliasManager.
Class
- AliasManager
- The default alias manager implementation.
Namespace
Drupal\Core\PathCode
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;
}