MachineNameTest::$modules

Same name in this branch
  1. 11.x core/tests/Drupal/FunctionalJavascriptTests/Core/MachineNameTest.php \Drupal\FunctionalJavascriptTests\Core\MachineNameTest::modules
Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Render/Element/MachineNameTest.php \Drupal\KernelTests\Core\Render\Element\MachineNameTest::modules
  2. 9 core/tests/Drupal/FunctionalJavascriptTests/Core/MachineNameTest.php \Drupal\FunctionalJavascriptTests\Core\MachineNameTest::modules
  3. 8.9.x core/tests/Drupal/FunctionalJavascriptTests/Core/MachineNameTest.php \Drupal\FunctionalJavascriptTests\Core\MachineNameTest::modules
  4. 10 core/tests/Drupal/KernelTests/Core/Render/Element/MachineNameTest.php \Drupal\KernelTests\Core\Render\Element\MachineNameTest::modules
  5. 10 core/tests/Drupal/FunctionalJavascriptTests/Core/MachineNameTest.php \Drupal\FunctionalJavascriptTests\Core\MachineNameTest::modules

Type: modules

Overrides KernelTestBase::$modules

File

core/tests/Drupal/KernelTests/Core/Render/Element/MachineNameTest.php, line 20

Class

MachineNameTest
@coversDefaultClass \Drupal\Core\Render\Element\MachineName @group Render

Namespace

Drupal\KernelTests\Core\Render\Element

Code

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

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