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\Path
Code
1 2 3 4 5 | 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 ; } |
Please login to continue.