MachineNameTest::$modules

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

Required modules.

Node is required because the machine name callback checks for access_content.

Type: array

Overrides BrowserTestBase::$modules

File

core/tests/Drupal/FunctionalJavascriptTests/Core/MachineNameTest.php, line 22

Class

MachineNameTest
Tests for the machine name field.

Namespace

Drupal\FunctionalJavascriptTests\Core

Code

protected static $modules = [
    'node',
    'form_test',
];

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