You are here

public function PathautoGenerator::resetCaches in Pathauto 8

Resets internal caches.

Overrides PathautoGeneratorInterface::resetCaches

File

src/PathautoGenerator.php, line 336

Class

PathautoGenerator
Provides methods for generating path aliases.

Namespace

Drupal\pathauto

Code

public function resetCaches() {
  $this->patterns = [];
  $this->patternsByEntityType = [];
  $this->aliasCleaner
    ->resetCaches();
}