function AliasWhitelist::resolveCacheMiss
File
-
core/
modules/ path_alias/ src/ AliasWhitelist.php, line 103
Class
- AliasWhitelist
- Extends CacheCollector to build the path alias whitelist over time.
Namespace
Drupal\path_aliasCode
public function resolveCacheMiss($root) {
$exists = $this->pathAliasRepository
->pathHasMatchingAlias('/' . $root);
$this->storage[$root] = $exists;
$this->persist($root);
if ($exists) {
return TRUE;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.