RequirementsTest::$modules

Same name in this branch
  1. 9 core/modules/mysql/tests/src/Functional/RequirementsTest.php \Drupal\Tests\mysql\Functional\RequirementsTest::modules
Same name in other branches
  1. 10 core/modules/file/tests/src/Kernel/RequirementsTest.php \Drupal\Tests\file\Kernel\RequirementsTest::modules
  2. 10 core/modules/mysql/tests/src/Functional/RequirementsTest.php \Drupal\Tests\mysql\Functional\RequirementsTest::modules
  3. 10 core/modules/system/tests/src/Kernel/Module/RequirementsTest.php \Drupal\Tests\system\Kernel\Module\RequirementsTest::modules
  4. 11.x core/modules/file/tests/src/Kernel/RequirementsTest.php \Drupal\Tests\file\Kernel\RequirementsTest::modules
  5. 11.x core/modules/mysql/tests/src/Functional/RequirementsTest.php \Drupal\Tests\mysql\Functional\RequirementsTest::modules
  6. 11.x core/modules/system/tests/src/Kernel/Module/RequirementsTest.php \Drupal\Tests\system\Kernel\Module\RequirementsTest::modules

Type: modules

Overrides KernelTestBase::$modules

File

core/modules/system/tests/src/Kernel/Module/RequirementsTest.php, line 17

Class

RequirementsTest
@covers \hook_requirements @covers \hook_requirements_alter @group Module

Namespace

Drupal\Tests\system\Kernel\Module

Code

protected static $modules = [
    'requirements1_test',
    'system',
];

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