RequestPathTest::$modules

Same name in other branches
  1. 8.9.x 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 44

Class

RequestPathTest
Tests system.module's request path condition.

Namespace

Drupal\KernelTests\Core\Plugin\Condition

Code

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

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