OptionalContextConditionTest::$modules

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

Type: modules

Overrides KernelTestBase::$modules

File

core/tests/Drupal/KernelTests/Core/Plugin/Condition/OptionalContextConditionTest.php, line 22

Class

OptionalContextConditionTest
Tests a condition with optional context.

Namespace

Drupal\KernelTests\Core\Plugin\Condition

Code

public static $modules = [
    'system',
    'user',
    'condition_test',
    'node',
];

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