RequestPathTest::$currentPath

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Plugin/Condition/RequestPathTest.php \Drupal\KernelTests\Core\Plugin\Condition\RequestPathTest::currentPath
  2. 8.9.x core/tests/Drupal/KernelTests/Core/Plugin/Condition/RequestPathTest.php \Drupal\KernelTests\Core\Plugin\Condition\RequestPathTest::currentPath
  3. 10 core/tests/Drupal/KernelTests/Core/Plugin/Condition/RequestPathTest.php \Drupal\KernelTests\Core\Plugin\Condition\RequestPathTest::currentPath

The current path.

Type: \Drupal\Core\Path\CurrentPathStack|\PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/KernelTests/Core/Plugin/Condition/RequestPathTest.php, line 55

Class

RequestPathTest
Tests system.module's request path condition.

Namespace

Drupal\KernelTests\Core\Plugin\Condition

Code

protected $currentPath;

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