FormTest::$modules

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

Modules to install.

Locale is installed so that TranslatableMarkup actually does something.

Type: array

Overrides BrowserTestBase::$modules

File

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

Class

FormTest
Tests field form handling.

Namespace

Drupal\Tests\field\Functional

Code

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

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