ReEnableModuleFieldTest::$modules

Same name and namespace in other branches
  1. 8.9.x core/modules/field/tests/src/Functional/ReEnableModuleFieldTest.php \Drupal\Tests\field\Functional\ReEnableModuleFieldTest::modules
  2. 10 core/modules/field/tests/src/Functional/ReEnableModuleFieldTest.php \Drupal\Tests\field\Functional\ReEnableModuleFieldTest::modules
  3. 11.x core/modules/field/tests/src/Functional/ReEnableModuleFieldTest.php \Drupal\Tests\field\Functional\ReEnableModuleFieldTest::modules

Modules to enable.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/field/tests/src/Functional/ReEnableModuleFieldTest.php, line 24

Class

ReEnableModuleFieldTest
Tests the behavior of a field module after being disabled and re-enabled.

Namespace

Drupal\Tests\field\Functional

Code

protected static $modules = [
    'field',
    'node',
    // We use telephone module instead of test_field because test_field is
    // hidden and does not display on the admin/modules page.
'telephone',
];

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