public function AliasWhitelist::__construct
public AliasWhitelist::__construct($cid, CacheBackendInterface $cache, LockBackendInterface $lock, StateInterface $state, AliasStorageInterface $alias_storage)
Constructs an AliasWhitelist object.
Parameters
string $cid: The cache id to use.
\Drupal\Core\Cache\CacheBackendInterface $cache: The cache backend.
\Drupal\Core\Lock\LockBackendInterface $lock: The lock backend.
\Drupal\Core\State\StateInterface $state: The state keyvalue store.
\Drupal\Core\Path\AliasStorageInterface $alias_storage: The alias storage service.
Overrides CacheCollector::__construct
File
- core/lib/Drupal/Core/Path/AliasWhitelist.php, line 43
Class
- AliasWhitelist
- Extends CacheCollector to build the path alias whitelist over time.
Namespace
Drupal\Core\PathCode
public function __construct($cid, CacheBackendInterface $cache, LockBackendInterface $lock, StateInterface $state, AliasStorageInterface $alias_storage) { parent::__construct($cid, $cache, $lock); $this->state = $state; $this->aliasStorage = $alias_storage; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Path!AliasWhitelist.php/function/AliasWhitelist::__construct/8.1.x