You are here

public static property AlterTest::$modules in Drupal 8

Same name in this branch
  1. 8 core/modules/system/tests/src/Functional/Common/AlterTest.php \Drupal\Tests\system\Functional\Common\AlterTest::modules
  2. 8 core/modules/system/tests/src/Functional/Form/AlterTest.php \Drupal\Tests\system\Functional\Form\AlterTest::modules
Same name and namespace in other branches
  1. 9 core/modules/system/tests/src/Functional/Form/AlterTest.php \Drupal\Tests\system\Functional\Form\AlterTest::modules
  2. 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 20

Class

AlterTest
Tests hook_form_alter() and hook_form_FORM_ID_alter().

Namespace

Drupal\Tests\system\Functional\Form

Code

public static $modules = [
  'block',
  'form_test',
];