function AliasWhitelist::clear

Same name in other branches
  1. 9 core/modules/path_alias/src/AliasWhitelist.php \Drupal\path_alias\AliasWhitelist::clear()
  2. 10 core/modules/path_alias/src/AliasWhitelist.php \Drupal\path_alias\AliasWhitelist::clear()

Overrides CacheCollector::clear

File

core/lib/Drupal/Core/Path/AliasWhitelist.php, line 140

Class

AliasWhitelist
Extends CacheCollector to build the path alias whitelist over time.

Namespace

Drupal\Core\Path

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.