UrlMatcher::$currentPath

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Routing/UrlMatcher.php \Drupal\Core\Routing\UrlMatcher::currentPath
  2. 10 core/lib/Drupal/Core/Routing/UrlMatcher.php \Drupal\Core\Routing\UrlMatcher::currentPath
  3. 11.x core/lib/Drupal/Core/Routing/UrlMatcher.php \Drupal\Core\Routing\UrlMatcher::currentPath

The current path.

Type: \Drupal\Core\Path\CurrentPathStack

File

core/lib/Drupal/Core/Routing/UrlMatcher.php, line 21

Class

UrlMatcher
Drupal-specific URL Matcher; handles the Drupal "system path" mapping.

Namespace

Drupal\Core\Routing

Code

protected $currentPath;

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