AlterTest::$modules
Same name in this branch
- 11.x core/modules/system/tests/src/Kernel/Common/AlterTest.php \Drupal\Tests\system\Kernel\Common\AlterTest::modules
Same name and namespace in other branches
- 9 core/modules/system/tests/src/Functional/Form/AlterTest.php \Drupal\Tests\system\Functional\Form\AlterTest::modules
- 9 core/modules/system/tests/src/Functional/Common/AlterTest.php \Drupal\Tests\system\Functional\Common\AlterTest::modules
- 8.9.x core/modules/system/tests/src/Functional/Form/AlterTest.php \Drupal\Tests\system\Functional\Form\AlterTest::modules
- 8.9.x core/modules/system/tests/src/Functional/Common/AlterTest.php \Drupal\Tests\system\Functional\Common\AlterTest::modules
- 10 core/modules/system/tests/src/Kernel/Common/AlterTest.php \Drupal\Tests\system\Kernel\Common\AlterTest::modules
- 10 core/modules/system/tests/src/Functional/Form/AlterTest.php \Drupal\Tests\system\Functional\Form\AlterTest::modules
Modules to enable.
Type: array
Overrides BrowserTestBase::$modules
File
-
core/
modules/ system/ tests/ src/ Functional/ Form/ AlterTest.php, line 22
Class
- AlterTest
- Tests <a href="/api/drupal/core%21lib%21Drupal%21Core%21Form%21form.api.php/function/hook_form_alter/11.x" title="Perform alterations before a form is rendered." class="local">hook_form_alter</a>() and <a href="/api/drupal/core%21lib%21Drupal%21Core%21Form%21form.api.php/function/hook_form_FORM_ID_alter/11.x" title="Provide a form-specific alteration instead of the global hook_form_alter()." class="local">hook_form_FORM_ID_alter</a>().
Namespace
Drupal\Tests\system\Functional\FormCode
protected static $modules = [
'block',
'form_test',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.