public function AliasWhitelist::clear in Drupal 9
Clears the collected cache entry.
Overrides CacheCollector::clear
File
- core/
modules/ path_alias/ src/ AliasWhitelist.php, line 115
Class
- AliasWhitelist
- Extends CacheCollector to build the path alias whitelist over time.
Namespace
Drupal\path_aliasCode
public function clear() {
parent::clear();
$this
->loadMenuPathRoots();
}