public function PathSubscriber::onKernelTerminate in Drupal 8
Ensures system paths for the request get cached.
File
- core/
lib/ Drupal/ Core/ EventSubscriber/ PathSubscriber.php, line 74
Class
- PathSubscriber
- Provides a path subscriber that converts path aliases.
Namespace
Drupal\Core\EventSubscriberCode
public function onKernelTerminate(PostResponseEvent $event) {
$this->aliasManager
->writeCache();
}