public function AliasWhitelist::clear in Drupal 10
Same name and namespace in other branches
- 9 core/modules/path_alias/src/AliasWhitelist.php \Drupal\path_alias\AliasWhitelist::clear()
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();
}