function PathSubscriber::onKernelTerminate

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\EventSubscriber

Code

public function onKernelTerminate(PostResponseEvent $event) {
    $this->aliasManager
        ->writeCache();
}

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