NoHelpTest::$modules

Same name in this branch
  1. 11.x core/modules/help/tests/src/Functional/NoHelpTest.php \Drupal\Tests\help\Functional\NoHelpTest::modules
Same name and namespace in other branches
  1. 10 core/modules/help/tests/src/Functional/NoHelpTest.php \Drupal\Tests\help\Functional\NoHelpTest::modules
  2. 9 core/modules/help/tests/src/Functional/NoHelpTest.php \Drupal\Tests\help\Functional\NoHelpTest::modules
  3. 8.9.x core/modules/help/tests/src/Functional/NoHelpTest.php \Drupal\Tests\help\Functional\NoHelpTest::modules

Modules to install.

Use one of the test modules that do not implement hook_help().

Type: array

Overrides KernelTestBase::$modules

File

core/modules/help/tests/src/Kernel/NoHelpTest.php, line 30

Class

NoHelpTest
Verify no help is displayed for modules not providing any help.

Namespace

Drupal\Tests\help\Kernel

Code

protected static $modules = [
  'help',
  'menu_test',
  'user',
  'system',
];

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