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\pathautoCode
public function resetCaches() {
$this->patterns = [];
$this->patternsByEntityType = [];
$this->aliasCleaner
->resetCaches();
}