protected static property MachineNameTest::$modules in Drupal 10
Same name in this branch
- 10 core/tests/Drupal/FunctionalJavascriptTests/Core/MachineNameTest.php \Drupal\FunctionalJavascriptTests\Core\MachineNameTest::modules
- 10 core/tests/Drupal/KernelTests/Core/Render/Element/MachineNameTest.php \Drupal\KernelTests\Core\Render\Element\MachineNameTest::modules
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalJavascriptTests/Core/MachineNameTest.php \Drupal\FunctionalJavascriptTests\Core\MachineNameTest::modules
- 9 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\CoreCode
protected static $modules = [
'node',
'form_test',
];