You are here

public function AliasWhitelist::clear in Drupal 10

Same name and namespace in other branches
  1. 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_alias

Code

public function clear() {
  parent::clear();
  $this
    ->loadMenuPathRoots();
}