function AliasWhitelist::clear

Same name in other branches
  1. 9 core/modules/path_alias/src/AliasWhitelist.php \Drupal\path_alias\AliasWhitelist::clear()
  2. 8.9.x core/lib/Drupal/Core/Path/AliasWhitelist.php \Drupal\Core\Path\AliasWhitelist::clear()

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();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.