RouteProviderTest::$currentPath

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php \Drupal\KernelTests\Core\Routing\RouteProviderTest::currentPath
  2. 10 core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php \Drupal\KernelTests\Core\Routing\RouteProviderTest::currentPath
  3. 11.x core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php \Drupal\KernelTests\Core\Routing\RouteProviderTest::currentPath

The current path.

Type: \Drupal\Core\Path\CurrentPathStack

File

core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php, line 67

Class

RouteProviderTest
Confirm that the default route provider is working correctly.

Namespace

Drupal\KernelTests\Core\Routing

Code

protected $currentPath;

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