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; }
Please login to continue.