RequestPathTest::$currentPath

Same name 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. 11.x 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 53

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.