FormTest::$modules

Same name in this branch
  1. 9 core/modules/system/tests/src/Functional/Form/FormTest.php \Drupal\Tests\system\Functional\Form\FormTest::modules
Same name in other branches
  1. 8.9.x core/modules/field/tests/src/Functional/FormTest.php \Drupal\Tests\field\Functional\FormTest::modules
  2. 8.9.x core/modules/system/tests/src/Functional/Form/FormTest.php \Drupal\Tests\system\Functional\Form\FormTest::modules
  3. 10 core/modules/field/tests/src/Functional/FormTest.php \Drupal\Tests\field\Functional\FormTest::modules
  4. 10 core/modules/system/tests/src/Functional/Form/FormTest.php \Drupal\Tests\system\Functional\Form\FormTest::modules
  5. 11.x core/modules/field/tests/src/Functional/FormTest.php \Drupal\Tests\field\Functional\FormTest::modules
  6. 11.x core/modules/system/tests/src/Functional/Form/FormTest.php \Drupal\Tests\system\Functional\Form\FormTest::modules

Modules to enable.

Locale is installed so that TranslatableMarkup actually does something.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/field/tests/src/Functional/FormTest.php, line 28

Class

FormTest
Tests field form handling.

Namespace

Drupal\Tests\field\Functional

Code

protected static $modules = [
    'node',
    'field_test',
    'options',
    'entity_test',
    'locale',
];

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