File
- drupal/core/lib/Drupal/Core/EventSubscriber/PathListenerBase.php, line 22
- Definition of Drupal\Core\EventSubscriber\PathListenerBase.
Class
- PathListenerBase
- Base class for listeners that are manipulating the path.
Namespace
Drupal\Core\EventSubscriber
Code
public function setPath(Request $request, $path) {
$request->attributes
->set('system_path', $path);
}