RequestPathTest::$modules

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

Modules to enable.

Type: array

Overrides KernelTestBase::$modules

File

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

Class

RequestPathTest
Tests that the Request Path Condition, provided by the system module, is working properly.

Namespace

Drupal\KernelTests\Core\Plugin\Condition

Code

public static $modules = [
    'system',
    'user',
    'field',
    'path',
];

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